> -----Original Message-----
> From: Guay Jean-Sébastien
> [mailto:[EMAIL PROTECTED]
> Sent: Monday, November 10, 2003 10:43 AM
> To: 'John W. Krahn'; 'Perl-Beginners'
> Subject: RE: Died on open command
> 
> 
> > It has nothing to do with what ActiveState did or didn't do.  The
> > DOS/Windows command interpreter (command.com/cmd.exe) uses 
> '\' as the
> > path separator however the operating system itself is able 
> to use '/' as
> > the path separator.
> 
> Err, just noticed I shouldn't have read so quick... 
> 
> Still, since cmd.exe goes to great lengths to prevent us from 
> using the
> slash, forcing the backslash onto us, I thank ActiveState for 
> not going the
> same way. :-)
> 
> Thanks for rectifying things.
> 

Well, cmd.exe just has a different meaning for /.  cmd uses / to pass in
options, instead of -, and spaces between the command and options is, well,
optional.

So, the command:
        cd winnt/system32
means cd to winnt and pass the option "system32" to the cd command, which
does nothing.

But, to override this behavior, use quotes around the directory name:

C:\>cd "winnt/system32"

C:\WINNT\system32>

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to