This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Problems with mingw32 GCC 2.8.0 !!!


> 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@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]