Difference between revisions of "ReNamer:Failed renaming"

From den4b Wiki
Jump to navigation Jump to search
(rephrased MAX_PATH, added navigation and category)
Line 1: Line 1:
 +
{{Up|ReNamer}}
 
{{Expand|
 
{{Expand|
 
* Give examples for all reasons
 
* Give examples for all reasons
Line 10: Line 11:
 
! Solution
 
! Solution
 
|-
 
|-
| File path exceeds MAX_PATH characters
+
| File path exceeds maximum number of characters
| Shorten the name of the file or any of its parent folders so that the total characters in the entire path is within the limit (typically 65). Note that you will probably need to add the files to the list again.
+
| Shorten the name of the file or any of its parent folders so that the total characters in the entire path is within the limit. '''Note:''' Windows defines maximum number of characters using a constant MAX_PATH = 260.
 
|-
 
|-
 
| Destination file already exists (name conflict)
 
| Destination file already exists (name conflict)
 
| There are multiple options:
 
| There are multiple options:
 
* Rename the name in the list (Refer to [[ReNamer:Menus_for_the_Files_pane#Options_menu|Fix conflicting new names]]).  
 
* Rename the name in the list (Refer to [[ReNamer:Menus_for_the_Files_pane#Options_menu|Fix conflicting new names]]).  
* Rename the 'other' file that is at the destination to avoid conflict
+
* Rename the 'other' file that is at the destination to avoid conflict.
* [[ReNamer:Manual_editing|Manually edit the new name]] of the file to avoid conflict
+
* [[ReNamer:Manual_editing|Manually edit the new name]] of the file to avoid conflict.
 
|-
 
|-
 
| Source file does not exist
 
| Source file does not exist
 
| This can happen because:
 
| This can happen because:
 
* You moved or manually renamed the file outside of ReNamer.
 
* You moved or manually renamed the file outside of ReNamer.
* You [[ReNamer:Renaming_folders|renamed its folder first]]
+
* You [[ReNamer:Renaming_folders|renamed its folder first]].
 
Just remove the items listed in '''Files''' pane, and then add them again (with the new path).
 
Just remove the items listed in '''Files''' pane, and then add them again (with the new path).
 
|-
 
|-
Line 32: Line 33:
 
|-
 
|-
 
| Invalid destination path
 
| Invalid destination path
| You may have included invalid characters to the file name, such as: <source>\/:*?"<>|</source>
+
| You may have included invalid characters to the file name, such as:
 +
<pre><nowiki>\/:*?"<>|</nowiki></pre>
 
|}
 
|}
 +
 +
[[Category:ReNamer]]

Revision as of 18:37, 26 September 2010

Arrow Return.png ReNamer  
{{{iparam}}} This article needs to be expanded!
  • Give examples for all reasons
  • Include possible workarounds

There can be several reasons for a failed renaming operation. Validation process will try to prevent some common problems prior to renaming by raising warnings during the preview process, but it cannot catch all possible problems. The most common reasons for failed renaming are as follows:

Reason Solution
File path exceeds maximum number of characters Shorten the name of the file or any of its parent folders so that the total characters in the entire path is within the limit. Note: Windows defines maximum number of characters using a constant MAX_PATH = 260.
Destination file already exists (name conflict) There are multiple options:
Source file does not exist This can happen because:

Just remove the items listed in Files pane, and then add them again (with the new path).

The file is being blocked by other program Find the program that is currently using the file (using utilities like the Windows Task Manager or Process Explorer) and close it. (Sometimes the file is still being downloaded, in which case just wait!)
You don't have sufficient privileges to rename the file. Get privileges by contacting the Admin (or the owner if the item is shared on a neighborhood PC). If you are the Admin, check the permissions of the folder.
Invalid destination path You may have included invalid characters to the file name, such as:
\/:*?"<>|