And there are other interesting switches such as /B and more.
Bob
I need to make a batch file that will produce a list of all the files in several subdirectories, showing which subdirectory each file is in.
I've tried using the FOR command but MS's instructions and examples are no help. Here's what I tried:
for /r in (X:\DOCS\Main\Chapters) do dirGREATERTHANSIGNfilelist.txt
(between the "dir" and "filelist.txt" above is supposed to be the symbol above the period on my keyboard, but it's not appearing correctly in this post)
No matter what I enter between the parenthesis it doesn't work. Suggestions?
Thanks.