I want to create a batch file that repeats a command four times. I have some freeware that ejects USB connected drives based on their drive letter, therefore I want to run this command:
removedrive.exe e: -E -W:1000 (where e: is the drive letter)
then I want to run:
removedrive.exe f: -E -W:1000 (where f: is the drive letter)
etc, up to h: and then exit.
I assume some sort of loop would be required? Any help much appreciated.