Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

85.Batch file rename -- How to batch rename files with the first line of file content as new file name?

User: editor -- 2008-05-12          << 84  86 >>
Hits: 765
Type: Batch file rename   
Search all Batch file rename examples
Description:
I want to rename all text files, the new name is the first line of the file content, how to do?
Answer:
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps.
1. Open "Tools->Batch Runner" menu.
2. Click "Pick Files" or "Search Files" button to select multiple files for processing.
3. Change "Set output filename" window from ${FILENAME} to:
 and click 'Apply'
Note: if you want to add sequence in filename, you can enter following as filename:

4. Click 'File Rename' button, the operation will be done.

Screenshot 1:  Batch_Runner_Window


Similar Examples:
How to batch rename files with the first word of file contents? (79%)
How to batch rename text files by adding the value of file content to filename? (77%)
Is there a way to batch rename files with the first line of the file content? (76%)
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? (71%)
How to batch rename files by removing the first 3 characters of each file name? (68%)
How to batch rename files from format like 'file.002' to '002_file'? (67%)
How to rename mutiple files with the 3rd and 4th line in file content? (66%)

Check Demo of Batch file rename
Keywords:
rename files with the first line  firstline  process  file content  content  rename all  sequence  operation  seq  the first line  batch rename first line of text  rename to first line of text  batch rename text files to first line  first line as the text file rename  rename text file from first line  rename text file with first line  batch rename text files with first line  rename files to the first line of text