How to get color into file names?

Jul 18, 2009
30
0
I have a command string for color left over from 4nt.

It is:
ColorDir=dirs:bri blu on whi; com exe bat btm sys:bri gre; zip ar* lzh rpm:bri red; jp* gif bmp tif*:bri mag; bak:bri blu;doc nfo lba who:
; StdColors bri whi on blu

Is there a way to incorporate this into tcmd and tcc terminals?

My guess is it goes into either tcmd.ini (and tcc.ini?) or 4start.btm
but I have been told not to mess with the ini files.

Didn't see much in TakeCommand.pdf

Larry
 

Charles Dye

Super Moderator
Staff member
May 20, 2008
4,461
88
Albuquerque, NM
prospero.unm.edu
I have a command string for color left over from 4nt.

It is:
ColorDir=dirs:bri blu on whi; com exe bat btm sys:bri gre; zip ar* lzh rpm:bri red; jp* gif bmp tif*:bri mag; bak:bri blu;doc nfo lba who:
; StdColors bri whi on blu

Is there a way to incorporate this into tcmd and tcc terminals?

My guess is it goes into either tcmd.ini (and tcc.ini?) or 4start.btm
but I have been told not to mess with the ini files.

You could do it either in the .INI file (as a directive) or through TCSTART (as an environment variable.) Probably the easiest way is to use OPTION.

Type OPTION and press Enter; a configuration dialog will pop up. Select the second tab, "Windows", and look for a box labelled "Colors". The last item in that box is a field labelled "Directory Colors". Copy everything after the equals sign from your original line, and paste it into the "Directory Colors" field. Click on OK, and you're done.
 
Jul 1, 2008
81
0
74
Montreal
ColorDir=dirs:bri blu on whi; com exe bat btm sys:bri gre; zip ar* lzh rpm:bri red; jp* gif bmp tif*:bri mag; bak:bri blu;doc nfo lba who:

Is there a way to incorporate this into tcmd and tcc terminals?

This should get you started:

From the command line, type OPTION
Under the Windows tab, paste your color settings (what follows "ColorDir=" above) into the text box beside "Directory Colors".

It looks to me like the color values after "who:" are missing
--
Peter
 
Jul 18, 2009
30
0
You could do it either in the .INI file (as a directive) or through TCSTART (as an environment variable.) Probably the easiest way is to use OPTION.

Type OPTION and press Enter; a configuration dialog will pop up. Select the second tab, "Windows", and look for a box labelled "Colors". The last item in that box is a field labelled "Directory Colors". Copy everything after the equals sign from your original line, and paste it into the "Directory Colors" field. Click on OK, and you're done.

Thanks Charles and Peter.

Pasting it into Options > Windows > Directory Colors worked just fine.

I think green is the color for executables.
I'll check the others against Linux colors so they are the same.

I'm now basically through the first round of tweaking Windows.

BTW, I found a nice way to add my comments to aliases with no problem.
Just put an &:: before the comment - the & prepares for a new command
which is actually the :: comment. Gives me a nice compact look to my
alias.lst.

Larry
 
Similar threads
Thread starter Title Forum Replies Date
Dick Johnson Weird Color Problem Support 8
vefatica ECHOERR and color escape sequences Support 4
gentzel TCMD background color confusion Support 6
M TCC color issue in ConEmu Support 4
vefatica IDE external command syntax color? Support 1
B Problem with color in nested shells Support 1
Alpengreis WAD [v26 Beta RC3]: MSGBOX color problems Support 4
T TCC Window Background Color Anomaly Support 9
AndrewJ TakeCommand v23 + ANSI color sequences leads to black on black text Support 6
K TCC prompt background color Support 4
samintz How to? Screen capture with color Support 13
P Color directories in Win10 build 10586 console Support 11
jbanaszczyk color 00 Support 8
V TCC17 background color problem Support 2
D Highlighted Text Color? Support 2
J Color command and Screen Buffer. Support 2
gschizas (minor) Help topic "Colors, Color Names and Codes" is wrong Support 0
fpefpe Color changes Support 1
nikbackm TCMD console color palette Support 4
mscheuner Background color not "sticking" in TCMD v11 x64 on Win7 Support 3
nikbackm TCMD10 tab background color Support 5
A Color in filenames in listview Support 1
J History file load hangs if file has complete garbage in it... Support 1
jdanielp Cannot step into and/or call another .bat file when debugging .bat file Support 2
thorntonpg file explorer - short cut keys Support 1
JohnQSmith New online help file wrong logo Support 7
Jay Sage WAD Possible Bug With OPTION Command With @FILE Support 5
samintz How to? swap endianness in a binary file Support 12
vefatica `Back quotes` - command line vs. batch file Support 5
fpefpe How to? batch file size Support 2
Jay Sage Issues With TCMD File Explorer Support 0
FreezerBurnt Help making a CMD and TCC compatible batch file Support 7
Joe Caverly @FILESIZE and NTFS File Stream Support 1
Joe Caverly Embedding an .EXE (or other file) into a .BTM Support 8
U Command help on file names Support 5
S Concatenate all playlists into 1 file Support 22
Joe Caverly Set a batch variable (%1 - %n) when TCC is executing a batch file Support 5
Joe Caverly Rename file that begins with Emoji Support 7
Joe Caverly PSHELL and NTFS File Streams Support 2
P Kill all other instances of tcc from a btm batch file Support 2
D ffind hangs on large file Support 18
Alpengreis Documentation Minor issue in help file for view /E Support 1
fpefpe batch file ending early Support 18
J Licesne file location Support 1
K robocopy cancelling batch file processing Support 28
Jay Sage TCMD Crashes with "tctoolbar /c /r file" Support 5
A Unable to pass batch file arguments unaltered Support 18
MikeBaas How to...extract a string from a .json-file? Support 10
vefatica LIBRARY and file name completion? Support 4
D What does the file "..\Everything\Run history.csv" store? Support 5

Similar threads