Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

1446.Batch file rename -- How to rename files with part of first line in file content?

User: davis -- 2019-10-28          << 1445  1447 >>
Hits: 210
Type: Batch file rename   
Search all Batch file rename examples
Description:
When I want to rename multiple txt files in batches, I added the comma ending part of the first line after the original title. What should I do?
Input Sample:
filename: abc.txt 
content: 
sskdlg,sgagsll,ldlg;g 
ssghhh,ghhsamgdmkd.dllhh,
Output Sample:
abcsskdlg.txt
Answer:
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps.
1. Open "Tools->Batch Runner" menu 
2. In "Batch Runner" window: 
(1) drag files such as abc.txt to filename list. 
(2) set output filename to: 
 
(3) make sure the new filename in "output file" column is correct, and click 'file rename', done.

Screenshot 1:  Batch_Runner_Window


Similar Examples:
How to rename files to the first and last line of file contents? (88%)
How to rename mutiple files with the 3rd and 4th line in file content? (80%)
How to rename files to the last 10 chars of 3rd line of file content? (80%)
How to batch rename files with the first word of file contents? (79%)
Is there a way to batch rename files with the first line of the file content? (77%)
How to rename files to year month from the epoch time in file content? (75%)
How to batch rename files with the first line of file content as new file name? (75%)
How to batch rename text files with random line from file contents? (73%)

Check Demo of Batch file rename
Keywords:
rename multiple txt  firstline  comma end  what  abc  correct  filename list  title  comma  after  rename first part of files  rename first part files  rename txt files to the first line  rename file after content  rename txt file first line  rename first part of filename  rename first part of file  rename ending