Netiad
2007-04-23 20:12:03 UTC
for /r %%x in (*) do echo %%x >> textfile.txt
However it creates a list of all files and their directory paths in a system. I want a list of all directories. I want each directory to be recorded only once.
thanks.