Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^2: why IPC::Open3 can't execute MS-DOS "dir" command?

by Anonymous Monk
on Dec 07, 2009 at 01:17 UTC ( #811398=note: print w/ replies, xml ) Need Help??


in reply to Re: why IPC::Open3 can't execute MS-DOS "dir" command?
in thread why IPC::Open3 can't execute MS-DOS "dir" command?

Change "dir * \/b\/s" to be "cmd /C dir * \/b\/s"
Seems it can't work, got the following error:
Execute Command: cmd /c dir * /b/s [ERROR] (1) : Parameter format not correct - "s"".
And if I remove the parameters "/b/s" it stopped again.


Comment on Re^2: why IPC::Open3 can't execute MS-DOS "dir" command?
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2015-07-30 03:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (269 votes), past polls