in reply to Re^2: Call batch script in new command / DOS window
in thread Call batch script in new command / DOS window
I've already presented the solution
'scuse me for being 1 minute behind you in posting.
If the OP doesn't want to wait for the child to finish
Since he didn't specify, I pointed him at the documentation.
and you need to use quotes,
Nope! This works:
c:\test>type DigThis.bat @echo I'm diggin' it c:\test>p1 [0] Perl> system "start c:\\test\\DigThis.bat";;
But this doesn't!
[0] Perl> system("start \"\" \"c:\test\DigThis.bat\"");
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Call batch script in new command / DOS window
by ikegami (Patriarch) on Aug 21, 2008 at 22:26 UTC |