Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

BTM Bugs

I have written several batch files to synchronize files/folders across multiple drives. And they used to work great, but now they work some of the time, but not always. The commands that periodically fail are:

for %I in (%_drives%) do gosub begin

and

for /D %I in (*.*) do gosub doit

Any help would be appreciated.
 
You're going to have to provide more detail than "it fails". What happens? Are some drives skipped? Does TCC crash? Do you get an error?
 
If you replace the FOR with DO you can use BDEBUGGER to single step the lines in the DO.
e.g.
Code:
DO d in /L %_drives
  echo doing something with Drive %d
LOOP
 

Similar threads

Back
Top