How to? Path Changes

Jun 4, 2008
I am running TCMD 18.00.32 x64 on Windows 7

Simple description: TCMD/TCC does not see changes I make to the PATH even after I stop TCMD and restart it. I change the PATH via control panel->System Properties

Detailed description:
1) I stop all instances of TCMD/TCC.
2) I change the path as described above. For example I add "c:\;" to the start of the path.
3) I start TCMD/TCC and type in "path". My change is not displayed.
4) I run "cmd" and type in "path". My change is displayed.
5) I run "regedit" and go to "
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment"
The change is set there.
5) If I log out of my windows session and log back in TCMD/TCC DOES display my change.

So: Is there away other than logging out and back in to make TCMD/TCC see changes I make to the path environment variable.
May 20, 2008
Syracuse, NY, USA
It all depends on how you are starting TCMD/TCC after the environment change. If you're using Explorer, TCMD/TCC should get the updated environment (because Explorer, and very few other apps, updates its own environment upon a system change). But if you're using some other app which has not updated it's environment to start TCMD/TCC, then TCMD/TCC will inherit the (un-updated) environment of that app.

P.S., Bottom line: Processes inherit the environment of their parent process.
Similar threads
Thread starter Title Forum Replies Date
V Set path permanently from within TCC? Support 3
Jay Sage Command Will Not Run Using Short Name of Path Support 5
Joe Caverly PUSHD with UNC path in CMD.EXE Support 2
MickeyF Why doesn't my python program get executed without specifying its path? Support 2
M How to set Path variable for non-executable file extensions in 4DOS Support 8
D How to? Path problems in TCC20 Support 1
vefatica "COMSPEC path" Support 2
Patulus TCHistoryLog: TCC: (Sys) The system cannot find the path specified Support 15
vefatica If there's no PATH variable ... Support 5
D V19: toolbar /r "path\tctoolbar.ini" Support 1
C ECHOing the _CWD with a & in the path Support 7
gschizas Fixed Cannot use extended path to delete invalid file Support 3
nickles Fixed In batch files, %0 now evaluates to the absolute path Support 9
cgunhouse IFTP Path Issue in V17 - Fixed Support 7
M How to? List path getting short file and directory names... Support 10
M How to? Get both path to and target of symbolic link/junction... Support 2
N Command completion and PATH Support 0
noahcoad How to? Create shortcut with env var in path Support 4
Exolon Space within path and FOR Support 4
A WAD Dir daterange + multiple path wildcards crashes tcc Support 2
D TCC can't start app if @shfolder[42] used for path Support 1
fpefpe How to? Path(s) for Python Support 0
D TPIPE works without being in path, but not V; aemail Support 8
Stefano Piccardi IDE.exe start toobar button fails when % in script path Support 0
H 12.10 UNZIP ignores destination path spec Support 2
Phileosophos unzip not using specified path Support 5
D Extracting the current command line, extracting current path Support 4
Stefano Piccardi char class wildcard issue when [] in path Support 14
D Function to see if a UNC path is mapped? Support 9
williamleara Specifying path to TCMD.INI causes issues Support 8
hrensink Path length limit Support 9
CWBillow Adding to the path Support 6
D D:\Settings\Application contains an incorrect path? Support 0
M TCC cannot find the path specified Support 4
P Too much path in path Support 12
vefatica PSHELL changes directory Support 3
D Version 28 LIBRARY changes have side effects Support 3
Jay Sage Changes to Keyboard Settings Not Being Saved Support 10
R Changes to BDEBUGGER menu item keyboard shortcuts in v25 Support 2
Joe Caverly 7zip changes file time Support 7
RChrismon How to? Changes to Options Don't Save Support 8
D v20 code page behavior changes Support 2
P Why won't my changes to Options take? Support 5
Alpengreis WAD Each start/close of TCMD changes my Explorer setting Support 7
Charles Dye Re: Feedback Forum Changes Support 9
rconn News Feedback Forum Changes Support 0
vefatica WAD Escaping changes case to lower? Support 12
Joe Caverly New Tab In TCMD Changes TCC Window Size Support 1
BobK "do you want to allow the following program to make changes to this computer" Support 3
S WAD BDEBUGGER command changes window title to "TCC Prompt" Support 4

Similar threads