On Oct 23, 6:57 am, [EMAIL PROTECTED] (Paul Lalli) wrote: > On Oct 23, 12:27 am, [EMAIL PROTECTED] (Ayesha) wrote: > > > I was not in the right directory, but I learnt about forward and > > backward slashed also. Thanks to all who replied > > Arg. This is exactly what I was afraid of. The post about forward vs > backwards slashes was wrong. Do not follow it. You should ALWAYS use > front slashes, regardless of Windows vs Unix. The only thing in > Windows that requires backslashes is the cmd.exe or command.com > shells. You are not using these shells when you write a Perl program. > > Paul Lalli
My first reply hasn't propagated yet, so I'll post this update. The cmd shell excepts both types of slashes. I first thought that you needed to use quotes when using forward slashes, but I was wrong. Try this simple test. C:\>notepad c:/boot.ini -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/