Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Rename file based on content
Name: eyals Date: June 30, 2009 at 22:40:32 Pacific OS: Windows XP/DOS Subcategory: Batch
Comment:
Hello,
I have 3500 HTML (plain text) files that I want to rename according to the content in line # 4 inside each file from position 30 to 47.
Summary: Is it possible to move a file based on content. I have a directory that each day is filled up with a few hundred XML files. I would like to move the files to certain directories based on what is in th...
Summary: I need to create a "simple" batch file that will not only rename a specified file to the date it was renamed (example: batch.log to batch-080508.log) but also based on the file size limit (example: if...
Summary: I have batch file that renames files based on system date: set dd=%Date:~8,2% set mm=%Date:~5,2% ren "c:\temp\ms2008*.xls" ms%mm%%dd%.xls so that ms2008-03-13-05-06-43.xls becomes ms0313.xls BUT, I ne...