New
#1
Batch file not waiting for command to finish before moving on
Hiya, i wasn't really sure where to put this, and i have Googled it but i can't find a reason why my batch file no longer does what it used to do. According to everything i've read, my batch should stop at IE, until i close IE, whereupon it should continue. This is how it used to behave.
Here it is:
It's supposed to unload SkyDrive which chews up my bandwidth when in use, load a little proggie that switches my viewing mode for BF3, then run IE... AND STOP! Problem is, it simply doesn't stop there - it used to! Then it's supposed to move on when i close IE and put my system "back to normal".Code:taskkill /im skydrive.exe start "BF3 Borderless" /d "C:\PortableApps\BF3Borderless-1.2" "BF3 Borderless.exe" "C:\Program Files (x86)\Internet Explorer\iexplore.exe" taskkill /im "BF3 Borderless.exe" taskkill /im Origin.exe start "SkyDrive" /d "C:\Users\Recusant\AppData\Local\Microsoft\SkyDrive" "SkyDrive.exe"
I had changed it recently to put SkyDrive in there, but when i retrieved a backup that i KNOW worked, it too just kept going through the batch after IE had run (without me closing it).
I have no idea what has caused my batch to do this.
Help! (please)