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
520.Batch file rename -- How to batch rename file extension to the letter 8-10 of 2nd line of file content?
User:
editor -- 2010-05-26
<< 519
521 >>
Hits:
3543
Type:
Batch file rename
Search all
Batch file rename
examples
Description:
How to batch rename file extension to the letter 8-10 of 2nd line of file content?
Input Sample:
original file: file1.001:
ABCDEFGHIJKLM
1234567890abcdef
Other contents
...
Output Sample:
new file name: file1.90a
Answer:
Hint: You need to
Download and install "Replace Pioneer"
on windows platform to finish following steps.
1. open "Tools->Batch Runner" window
2. drag all files from Windows File Browser to "Batch Runner" window
3. check option of "Set output filename", and change the following entry to:
${BASE}.${FILENAME}{file_line,2}{8,10}
4. click "File Rename", done!
Similar Examples:
How to batch rename text files with random line from file contents?
(74%)
How to batch rename files to the first 8 characters of the second line of file content?
(74%)
How to rename files to the last 10 chars of 3rd line of file content?
(73%)
How to batch rename files to the specified pattern found in file content?
(71%)
How to batch rename files with the first word of file contents?
(70%)
How to rename files to the first and last line of file contents?
(68%)
Is there a way to batch rename files with the first line of the file content?
(68%)
How to batch rename files by appending the number of lines at the end?
(66%)
Check Demo of
Batch file rename
Keywords:
rename file extension
file extension
extension
2nd
letter
file content
content
how to batch rename
how to batch rename file
batch rename
batch extension letter
batch file to change filename extension
batch change file extension
batch change filename extension
filename extension
letter batch
batch rename file from content
rename file from content