DO is the action clause of the FOR command

 

FOR... %%G IN (...) DO ECHO whatever

FOR... %%G IN (...) DO Copy file1.txt file99.txt

FOR... %%G IN (...) DO Del %%G

FOR... %%G IN (...) DO call :s_subroutine %%G



“Confidence comes not from always being right but from not fearing to be wrong” - Peter T. Mcintyre

Related:

IF command


© Copyright SS64.com 1999-2013
Some rights reserved