Replace (WAIT) with (PAUSE). When you exit the program, the cmd will still be lingering and say something like "Press any key to continue..." - Which will open explorer.exe
Quote from start.bat »
@ECHO OFF
TASKKILL /F /IM explorer.exe
game.exe
PAUSE
START C:\Windows\explorer.exe
Quote from "Rykker" »
it apparently doesn't want to /WAIT until I exit the game before restarting Explorer
I think I have a solution for color problems involving older games and Windows 7
I know this worked for AoE II anyway, despite all the admin rights, compatibility modes, 256 colors and disabling visual themes
Just try closing explorer.exe when/before you open it
IF this works then create a simple batch file that does it automatically for you, and place this .bat file in the main Diablo/Starcraft directory... such as
Quote from Start.bat »
@ECHO OFF
TASKKILL /F /IM explorer.exe
age2_x1.exe OR diablo.exe OR starcraft.exe (whatever the .exe is!)
WAIT
START C:\Windows\explorer.exe
This batch file should force close of explorer before starting the game. When you exit the game it reinitializes explorer.exe automatically. At least it does when I run it with AoE II
I think its due to the Aero themes within explorer.exe for Windows 7... and something about "Microsoft Color Management Module". But dont quote me on that
Rollback Post to RevisionRollBack
Eventually, we're all worm food. Even the worms.
To post a comment, please login or register a new account.
Shazam...
Now it has to wait
I know this worked for AoE II anyway, despite all the admin rights, compatibility modes, 256 colors and disabling visual themes
Just try closing explorer.exe when/before you open it
IF this works then create a simple batch file that does it automatically for you, and place this .bat file in the main Diablo/Starcraft directory... such as
This batch file should force close of explorer before starting the game. When you exit the game it reinitializes explorer.exe automatically. At least it does when I run it with AoE II
I think its due to the Aero themes within explorer.exe for Windows 7... and something about "Microsoft Color Management Module". But dont quote me on that