This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
Hello All,
A couple of days ago I started facing this issue where my BAT file which has 4 vbscript command lines runs all of them except the first one. Here's what my BAT file looks like:
cscript "C:\users\abcd\Folder X\MyFile1.vbs"
timeout /t 10
cscript "C:\users\abcd\Folder X\MyFile2.vbs"
timeout /t 10
cscript "C:\users\abcd\Folder X\MyFile3.vbs"
timeout /t 10
cscript "C:\users\abcd\Folder X\MyFile4.vbs"
timeout /t 10
I have it scheduled to run daily at 4:50 AM using task scheduler and each vbs file basically overwrites certain Excel files. I noticed that the Excel files that MyFile1.vbs is supposed to update hadn't been updated, but the others had been. So I executed the BAT file manually and it worked well. Any idea why it might not be running the first one? I checked/ran the MyFile1 vbscript manually and didn't see any issues either.
Any help would be greatly appreciated!
Subreddit
Post Details
- Posted
- 4 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/commandline...