Challenge - Batch Modify File Extensions and Reverse File Names Simultaneously
The purposes of the batch processing are:
1. Batch modify the file extensions of specified types of files in the target folder (including all its subdirectories) to other specified extensions.
2. At the same time, batch reverse the file names of specified types of files in the target folder (including all its subdirectories).
Supplementary Notes -
1. The batch processing must support: the user can enter the target folder (or drag and drop to get the path) directly in the running window of the batch processing, as well as the original extension and the new extension.
2. The path of the target folder may contain spaces.
For example, the directory "C:\Documents and Settings\Administrator".
3. The path of the target folder may contain Chinese characters.
For example, the directory "C:\Documents and Settings\Administrator\Desktop".
4. The path of the target folder may contain special characters.
For example, characters "^" and "&".
5. Specific examples of renaming are:
For example, "1234.original_extension" is renamed to "4321.new_extension".
6. In the case of double extensions:
For example, "1234.jpg.original_extension" is renamed to "gpj.4321.new_extension". In short, only recognize the last extension as the real extension. All the previous ones are treated as the file name as a whole and reversed!
7. The batch processing must support renaming system or hidden attribute files. However, after renaming, the original attributes must be restored.
[ Last edited by lujice on 2011-1-22 at 20:16 ]
The purposes of the batch processing are:
1. Batch modify the file extensions of specified types of files in the target folder (including all its subdirectories) to other specified extensions.
2. At the same time, batch reverse the file names of specified types of files in the target folder (including all its subdirectories).
Supplementary Notes -
1. The batch processing must support: the user can enter the target folder (or drag and drop to get the path) directly in the running window of the batch processing, as well as the original extension and the new extension.
2. The path of the target folder may contain spaces.
For example, the directory "C:\Documents and Settings\Administrator".
3. The path of the target folder may contain Chinese characters.
For example, the directory "C:\Documents and Settings\Administrator\Desktop".
4. The path of the target folder may contain special characters.
For example, characters "^" and "&".
5. Specific examples of renaming are:
For example, "1234.original_extension" is renamed to "4321.new_extension".
6. In the case of double extensions:
For example, "1234.jpg.original_extension" is renamed to "gpj.4321.new_extension". In short, only recognize the last extension as the real extension. All the previous ones are treated as the file name as a whole and reversed!
7. The batch processing must support renaming system or hidden attribute files. However, after renaming, the original attributes must be restored.
[ Last edited by lujice on 2011-1-22 at 20:16 ]

