What am I missing?-TaoPhoenix
choice
MS in their infinite wisdom included the
choice.com/choice.exe DOS command in all versions of Windows from 3.1 and DOS 6.x onwards
except 2000 and XP.
You can grab the choice.com command from a set of
DOS 6+ disks - I've attached it below for Windows x86 only.
Also, I'm sorry to say, v9 SHA-1 calculation doesn't work due to the lack of Delayed Expansion, (enabling limits using ! in filenames), so I'm writing a small hash program so I won't have to use fciv.exe which is why I have to use the for loop to get the value I want.Why they couldn't just output the hash value without any fluff is beyond me.
So, I should have another v9 up with a separate hash program later today.
Done. Really slick batch file work, too, 4wd.-skwire
Spoke too soon there - give me a couple of hours though
OK, back with v9.5:
- No longer requires choice.com, so it should work OK on W2k and XP.
- Now has a dedicated hash program so the SHA-1 comparison works properly, (put it in the same folder as the batch file).
- Checks to see if the Source and Destination are the same, it'll exit if they are.