Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^2: windows path problem

by TomDLux (Vicar)
on Aug 19, 2010 at 19:44 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2024-04-19 01:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found