I like the /N switch of the PATH command,
which allows me to display each path directory on its own line.
I have duplicated this,
to the best of my ability,
to work with each COLORDIR type/colour on its own line.
Read more
which allows me to display each path directory on its own line.
I have duplicated this,
to the best of my ability,
to work with each COLORDIR type/colour on its own line.
Code:
@setlocal
@echo off
:: Batch Name: colordir.btm
Gosub ColorDir2File
Gosub File2ColorDir
defer type %temp\colordir.txt
endlocal
quit
:ColorDir2File
set ColorDirCount=%@words[";",%Colordir]
set ColorDirCount=%@DEC[%ColorDirCount]
if exist %temp\colordir.txt...
Read more