Here is my batch file, try.cmd:
for /f "delims=;" %%d in ("%PATH%") do echo %%d
Curiously, only the first directory in the path got printed, then the loop stopped. How do I get to loop over all directories in the path?
Here is my batch file, try.cmd:
for /f "delims=;" %%d in ("%PATH%") do echo %%d
Curiously, only the first directory in the path got printed, then the loop stopped. How do I get to loop over all directories in the path?