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

Re^4: Windows start /min

by bulk88 (Priest)
on Oct 10, 2012 at 21:58 UTC ( #998327=note: print w/replies, xml ) Need Help??


in reply to Re^3: Windows start /min
in thread Windows start /min

Calling "start dir" from Perl does not work:
c:\>perl -e "system(\"start dir\")" start: dir: Das System kann die angegebene Datei nicht finden.
dir is not a exe, it is a shell built in. start is also a shell built in. You will not find a start.exe in your C:\WINDOWS or any subfolder under that. Only cmd understands what dir is.

try
perl -e "system('cmd /c dir');"
or
perl -e "system('cmd /c start dir');"

Replies are listed 'Best First'.
Re^5: Windows start /min
by Anonymous Monk on Oct 11, 2012 at 02:36 UTC
    FWIW, perl -le "system \"dir\"" works just fine, but then I don't have any autoloaded modules, no sitecustomize, no PERL env vars to override any defaults

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (6)
As of 2018-09-19 22:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Eventually, "covfefe" will come to mean:













    Results (170 votes). Check out past polls.

    Notices?
    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!