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
- 2 years ago
- 2 years ago
- 4 years ago
Recent Discussions
- 2 days ago