Quantcast
Channel: Take Command / TCC
Viewing all articles
Browse latest Browse all 1678

Display each COLORDIR type and colour on its own line.

$
0
0
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.
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

Viewing all articles
Browse latest Browse all 1678

Trending Articles