BTM Bugs

Mar 1, 2017
1
0
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