An example of a dir
used in a FOR
loop with how to change the drive letter when outputting it:
FOR /F "usebackq delims==" %i IN (`dir /s /a:d /b c:\workspace\workInProgress*`) DO @echo "c:%~pi""d:%~pi"
An example of a dir
used in a FOR
loop with how to change the drive letter when outputting it:
FOR /F "usebackq delims==" %i IN (`dir /s /a:d /b c:\workspace\workInProgress*`) DO @echo "c:%~pi""d:%~pi"