Quantcast
Channel: Take Command / TCC
Viewing all articles
Browse latest Browse all 1678

Question on NOT traversing subdirectories with DO

$
0
0
I don't know whether this is intentional DO behavior. The documentation states that the /D option (specify a starting directory) is for use with the /S option (traverse subdirectories). The /D option may be specified without the /S option, without error. However, in this case it is ignored. In other words, there's no way to say "start in this other directory, but do not traverse subdirectories." WAD or not?
Code:
[C:\batch]do file in /d"h:\" image* (echo %file (in %_cwd))...

Read more

Viewing all articles
Browse latest Browse all 1678

Trending Articles