Search found 2 matches

by CarnalProdigy
22 Jul 2017 17:20
Forum: DOS Batch Forum
Topic: Rename Text Files Based On Content ("Line 4" - "Line 6".txt)
Replies: 5
Views: 5596

Re: Rename Text Files Based On Content ("Line 4" - "Line 6".txt)

Now that you edited your initial post twice I wonder if you already tried the code. My thoughts are to maybe just delete lines 10 through 30 after the batch file reads Line 4 and 6 so it can rename them Why not leaving the content as it is? Removing lines always means that you have to write the fil...
by CarnalProdigy
21 Jul 2017 23:48
Forum: DOS Batch Forum
Topic: Rename Text Files Based On Content ("Line 4" - "Line 6".txt)
Replies: 5
Views: 5596

Rename Text Files Based On Content ("Line 4" - "Line 6".txt)

I have 250,000 text files (Stories of various names) in alphabetized folders. What I would like to do is drop a batch file in to each of the folders, run it and have it rename all the text files in that folder. I have experimented with a few test batch files to no avail. I would like to rename each ...