On a Windows system, the path: D:\ is known as the HOMEPATH. ---- [LV] Can anyone explain how Tcl makes use of this? What does HOMEPATH mean? - [RS] is not sure, but this page was prepared to live from [Tcl syntax help]. ---- On my windows box my HOMEPATH is: \Documents and Settings\jrankin I'm not sure why it would ever be the root of d, unless it has been explicitly set that way. Given the location of this path, perhaps it refers to the Windows equivalent of the user's home directory? - [WJR] ---- [ZLM]: C:\>set HOME HOMEDRIVE=P: HOMEPATH=\ HOMESHARE=\\acefpscpd001\PSI0005JLM$ C:\>p: P:\> P:\>cd %HOMEPATH% P:\> P:\>c: C:\> C:\>cd %HOMEPATH% C:\> ---- [BR] 2003-10-28: On my system (W2K) I see this: c:\> set HOME HOMEDRIVE=C: HOMEPATH=\Documents and Settings\benny I always interpreted this as that MS wanted something like $[HOME] on Unix but in two pieces so that you can use it in batch files like %HOMEDRIVE% cd %HOMEPATH% Note for those not familiar with Windows command/batch language: On Windows, plain '''CD''' doesn't change the drive. You do that by just giving the drive name, as the first line in the code example does. Tcl seems to think the same, it synthesizes a [HOME] variable for me from those bits, if I don't have one: c:\> set HOME HOMEDRIVE=C: HOMEPATH=\Documents and Settings\benny c:\> tclsh % set env(HOME) C:\Documents and Settings\benny ---- [[Category ?]]