I’m working on a dos script that will loop through the files in a given folder and run a command on each file in the folder. It also needs to copy the output of the command, which is a file named dump-hac.txt, to the original file’s name. Also MUST BE FULL SCREEN DOS or DOSBox dos.
For %a in (“*.hac”) do
mv dump-hac.txt %~na.txt
This is the base code of a script that runs on a newer dos version, but Dosbox (http://en.wikipedia.org/wiki/DOSBox
) doesn’t have “for” or other abilities.
The main reason for all this is that this program ONLY runs in FULL SCREEN DOS mode. I need to automate running it in another script and it seems impossible with the new Vista/Win7 dos, and it’s looking the same in XP dos. So I found it does run in DOSBox and now I’m trying to figure out the dosbox dos commands to do it. Help? TIA.