Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^2: windows path problem

by TomDLux (Vicar)
on Aug 19, 2010 at 19:44 UTC ( #856110=note: print w/replies, xml ) Need Help??


in reply to Re: windows path problem
in thread windows path problem

But you might want double quotes if you're going to be using the shell, as in
system( "dir $path" );
rather than bypassing the shell
system( 'dir', $path )';
Disclaimer: I'm a Unix guy. This would be true on Unix; does "MS-DOS 2010" still have a shell?

--
TTTATCGGTCGTTATATAGATGTTTGCA

Replies are listed 'Best First'.
Re^3: windows path problem
by ikegami (Patriarch) on Aug 19, 2010 at 20:13 UTC
    No, you wouldn't. "\" is not special to the cmd shell, and it doesn't use "\" for escaping.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://856110]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (1)
As of 2022-01-16 22:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (50 votes). Check out past polls.

    Notices?