Mail Archives: cygwin/1998/01/29/04:33:44
> Just to joke:
> try in a MSDOS shell on windows NT : cd Program Files (it works)
> cd "Program Files" (it works)
> dir Program Files (DOES NOT WORK!!!)
> dir "Program Files" (it works)
> Does anybody can tell me why?
I assume the reason is that 'cd' never takes more than one arg, namely,
the directory to change to -- whereas dir can take many options and
switches and whatnot. Because of this, cd knows that everything on the
command line is a directory name and it can allow this sort of thing --
whereas dir cannot allow this because it needs to look for other
arguments.
regards,
isaac
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".
- Raw text -