1.

Solve : Batch file to Sort and Move specific files by identifying a word inside the file?

Answer»

Hi All...
I will explain what I need in as much detail as possible.
I need a batch file to MOVE specific files into a SEPARATE folder,possibly by opening my hex editor,searching for the WORD "body" ( without the quotes ) and if found ,close hex editor,move file to a folder CALLED "moved" ,then go on to the next one.If the word "body" is not found just close hex editor and ignore the file.
I have approx 900 files in a folder.One is a vehicle and one is a map for a game.They are mixed together and the only way of telling them apart is by opening each one with my hex editor and search for the word "body",which means it is a vehicle.If the "body" word is not found,it is a map.Example wording of the files: mapname.idf carname.idf
Manually this process would take HOURS,even days.
It would be a lot better if there is a way of doing this without using the hex editor/batch idea.
Here is a link to one map and one vehicle file if needed for an example:
http://vnovak.com/1nsane/2idf-files.zip
Thanks a bunch for your help! 
ValAnswers here:

http://www.dostips.com/forum/viewtopic.php?f=3&t=5950



Discussion

No Comment Found