Forum Discussion
cneedham
7 years agoOccasional Contributor
Your problem is bigger than that... you need to wait for lots of things in your scripts probably..
Create a generic funciton like this and use it:
static runBatchFile(batchFile, waitForExit, args = "")
{
WshShell.Run("cmd /c .\\Stores\\Files\\" + batchFile + " " + args, 1, waitForExit);
}
Related Content
- 9 years ago
- 13 years ago
Recent Discussions
- 2 days ago
- 2 days ago
- 5 days ago