I have the following command which will loop over all the subdirectories in a specific location and output the full path:
for /d %i in ("E:\Test\*") do echo %i
Will give me:
But how do I get both the full path, and just the directory name, so the do command might be something like:
echo %i - %j
And the output might be something like:
E:\Test\One - One E:\Test\Two - Two
Thanks in advance!