Slashes on Windows and broken cmd.exe (was Re: issue with ddefine on win2k3)
Kenneth Brody
kenbrody at bestweb.net
Tue May 22 09:25:40 PDT 2007
Quoting Bob Stockler (Tue, 22 May 2007 11:57:46 -0400):
[...]
> And from a command prompt in Windows, if I'm at C:\ and execute
> "chdir /windows" my prompt becomes "C:\WINDOWS".
[...]
Only because cmd.exe is broken. If you're not in the root
directory, it won't work. (Unless there is a "windows"
subdirectory from where you are, in which case it will
take you to that directory.) Try it.
Then, from the "\windows" directory, try "cd /system32" and
you will see that it does not complain that a directory
named "system32" does not exist off of the root directory.
Rather, it will act as it you did "cd system32" without the
slash.
Finally, from the root directory, try
cd "/documents and settings"
This won't work, as "/d" is a valid flag to cd. However,
you can do:
cd "/ddocuments and settings"
(note the double "d" at the beginning) and it will change to
the "documents and settings" directory.
Also, if there is a "appl" subdirectory from where you are,
then you can do
cd /dappl
and change to the appl directory.
--
KenBrody at BestWeb dot net spamtrap: <g8ymh8uf001 at sneakemail.com>
http://www.hvcomputer.com
http://www.fileProPlus.com
More information about the Filepro-list
mailing list