scuse me for being 1 minute behind you in posting.
I was just repeating that solution to make the node complete, not as an indication that there was a problem with the timing of your answer. Call it an inlined hyperlink if you wish.
Nope! This works: system "start c:\\test\\DigThis.bat";
I never said it didn't. I didn't say quotes were needed. You misquoted me. The fragment of my sentence you quoted was part of the condition ("If ... you need to use quotes, ...").
But this doesn't! system("start \"\" \"c:\test\DigThis.bat\"");
Only because the file doesn't exist. File names with tabs in them appear to be illegal in Windows. On the other hand, the following *does* work.
system("start \"\" \"c:\\test\\DigThis.bat\"");
In reply to Re^4: Call batch script in new command / DOS window
by ikegami
in thread Call batch script in new command / DOS window
by Olaf
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |