Need to parse your path statement into separate lines? Use “ePath”, within a batch file such as this:
ECHO The following directories are listed
ECHO in Windows’ path statement:
epath -l -a -r
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: