Need to parse your path statement into separate lines? Use “ePath”, within a batch file such as this:

@ECHO OFF
ECHO.
ECHO The following directories are listed
ECHO in Windows’ path statement:
ECHO.
epath -l -a -r
ECHO.
pause>nul

Advertisement

This script used to work, without an external program to slice and dice the output, but since maybe Win7 or Vista, it’s all been spat out on one line <- no good.

The download for epath is here at this link, a bit down the page:
http://inzi.com/2013/09/epath-…