Last active
September 8, 2018 00:52
-
-
Save LuckyTeng/56f4519cf5c2258dc181af0fe55d6baa to your computer and use it in GitHub Desktop.
list all path
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:: list path in set for human readable | |
@echo off | |
setlocal | |
set a=1 | |
:LOOP | |
for /f "delims=;, tokens=%a%" %%i in ("%path%") do if "%%i" neq "" ( | |
echo %%i | |
set /a a=a+1 | |
GOTO :LOOP | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment