Page 1 of 1

Allow user-defined variables within WinCmd.ini

Posted: 2014-06-30, 11:42 UTC
by Hemingway
As in BAT/CMD files, it would be helpful to implement "SET myownvariable=value" in WinCmd.ini.
%myownvariable% could then be used in various places of WinCmd.ini, such as paths, file lists, etc.
This little feature could help all those who edit their ini file manually.

Posted: 2014-06-30, 12:26 UTC
by MVV
You can use Autorun plugin in order to define your custom environment variables.

Posted: 2014-07-16, 02:49 UTC
by Balderstrom
You can also just creat a batch (.bat|.cmd) file to launch TC.

Code: Select all

SET myownvariable=value
START "" "C:\TC\TotalCmd.exe"
SETENV.exe (from Vincent Fatica's Home Page) can also be used to set permanent (or temporary) environment variables, without manually editting such variables via:
"My Computer" / Properties / System Properties / [Advanced] / [Environment Variables]
SETENV -u name value (User Environment, current User only)
SETENV -m name value (Machine Environment, e.g. All Users)
SETENV -d name value (Default User environment)
SETENV -v name value (Volatile, removed after reboot)