Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

193.Batch file rename -- How to remove/delete all underscores in filenames of all files in a directory?

User: editor -- 2008-06-18          << 192  194 >>
Hits: 10377
Type: Batch file rename   
Search all Batch file rename examples
Description:
How to remove all underscores in filenames of all files in a directory?
Input Sample:
file_name1.txt
filename_2.txt
...
Output Sample:
filename1.txt
filename2.txt
Answer:
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps.
1. open menu 'Tools->Batch Runner'
2. click 'Pick files' select multiplue files
3. sort these files by name or date or others, by clicking different column titles.
4. change 'set output filename' entry from ${FILENAME} to:
 and click 'Apply' at right.
5. click 'Rename', finish.

if you want to record the mapping between oldname and newname, you can click 'Export List', and save the mapping to a file.

Note: ${FILENAME}{replace '_',''} means replace '_' in filename to blank, you can also use ${FILENAME}{replace 'abc','def'} to replace abc to def in filename.

Screenshot 1:  Batch_Runner_Window


Similar Examples:
How to remove/delete ending spaces of all lines automatically? (60%)
How to remove duplicate lines in multiple files in different sub-folders? (58%)
How to remove all the lines appeared in file B,C,D from file A? (58%)
How to delete all lines appear in file B from file A? (58%)
How to remove/delete first column for multiple files? (58%)
How to remove/delete line breaks of all lines which has more than 20 characters? (58%)
How to remove/delete all symbols and numbers in a text file, only leave text? (58%)
How to remove/delete all symbols in a text file? (57%)

Check Demo of Batch file rename
Keywords:
remove all underscores  underscores  abcd  underscore  export  mapping  record  abc  filenames  replace abc  remove all underscores filename  all underscores filename  rename all underscores  remove all underscores from files  remove underscores  remove underscores from filenames  remove underscores from file name  remove underscores from filenames rename