Replace Pioneer Home
All Examples
Free Download
all
Advanced search and replace
Replace text in multiple files
Regular expression replace
Batch file rename
Batch download
Text file parser
Text file splitter
Html text generator
Search replace binary
Random word generator
Count and statistics
Character encoding
Bin Hex Oct Dec converter
Text generator
Text sort
Text merge
Text data calculation
RSS: Replace Pioneer Examples
52.Text generator -- Make a batch file to change name of all files
User:
sysdemo -- 2007-11-28
<< 51
53 >>
Hits:
4227
Type:
Text generator
Search all
Text generator
examples
Description:
Make a batch file to change name of all files
Input Sample:
file1
file2
file3
file4
Output Sample:
rename file1 file1.bak
rename file2 file2.bak
rename file3 file3.bak
rename file4 file4.bak
Answer:
Hint: You need to
Download and install "Replace Pioneer"
on windows platform to finish following steps.
1. ctrl-o open the file
2. ctrl-h open replace dialog:
Settings:
1) Replace unit=line
2) Search for pattern:
.*
3) Replace with pattern:
rename \"$match\" \"$match.bak\"\n
3. Click 'Replace'
Download Script:
scripts/52.rst
Screenshot 1: Replace_Window
Similar Examples:
How to batch change format of multiple files?
(66%)
How to make a DOS batch file that can rename many swf files according to lists?
(61%)
How to make specified change for .htaccess file?
(57%)
How to batch change filename from upper case to lower case?
(56%)
How to batch rename files from month name to month number?
(55%)
How to attach the md5 sum to the end of filename for multiple files?
(55%)
How to batch change many html files from iso-8859-1 to utf-8?
(55%)
How to batch change a lot of xml files, adding all <ID> by 1?
(54%)
Check Demo of
Text generator
Keywords:
settings
setting
text generator
generator
rename
rena
change name
ren
change
name
batch name generator
name generator batch file
batch file generator
file replace generator
batch file name match
replace with file name
batch files to change a file name
batch file to change a file name