
13 Dec
2006
13 Dec
'06
11:05 p.m.
"Peter Dimov" <pdimov@mmltd.net> writes:
Janek Kozicki wrote:
"To set current directory to your "My Documents" folder type:
cd %HOMEDRIVE%%HOMEPATH%
this can be useful if you got lost in the directory tree"
%HOMEDRIVE%%HOMEPATH% is actually the parent of the default location of "My Documents",
C:\Documents and Settings\pdimov
on this machine. I missed the "sibling" in Dave's text too on first reading.
Well, according to info I just Googled up, %HOMEDRIVE%%HOMEPATH% is your "Documents and Settings" folder, but your "My Documents" folder can actually be located elsewhere, even on a different drive. So I guess I'm dropping this part. -- Dave Abrahams Boost Consulting www.boost-consulting.com