Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

652.Batch file rename -- How to rename mutiple files with the 3rd and 4th line in file content?

User: editor -- 2010-11-11          << 651  653 >>
Hits: 3875
Type: Batch file rename   
Search all Batch file rename examples
Description:
How to rename mutiple files with the 3rd and 4th line in file content? 
 
There are many text files, each file has following contents: 
xxxxx 
xxxx 
AAA 
0123 
xxx 
 
how to change each filename to the 3rd line and 4th line? the new filename will be the format like AAA-0123.txt
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 multiple files from windows to "Batch Runner" window 
3. set "set output filename" entry to: 
 
4. check the preview on "output file" column, click "File Rename", done!

Screenshot 1:  Batch_Runner_Window


Similar Examples:
How to rename files with part of first line in file content? (80%)
How to rename files to the first and last line of file contents? (80%)
How to batch rename text files with random line from file contents? (77%)
How to rename files to the last 10 chars of 3rd line of file content? (74%)
How to rename files to year month from the epoch time in file content? (69%)
Is there a way to batch rename files with the first line of the file content? (68%)
How to batch rename files with the first word of file contents? (67%)
How to batch rename file extension to the letter 8-10 of 2nd line of file content? (66%)

Check Demo of Batch file rename
Keywords:
mutiple  muti  xxxxx  4th  3rd  contents  123  aaa  xxx  file content  mutiple line  rename text file with content  rename text file with content line  rename files from content text  change multiple file rename from text file  change multiple text file format  rename multiple files from text file  change format many files