.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $5.00

   







Go Back   .com.unity Forums > The Camo Workshop > WinSPMBT
Notices


Reply
 
Thread Tools Display Modes
  #1  
Old July 7th, 2012, 09:18 PM

dmnt dmnt is offline
Sergeant
 
Join Date: Jan 2010
Location: Espoo, Finland
Posts: 359
Thanks: 56
Thanked 136 Times in 104 Posts
dmnt is on a distinguished road
Default Re: Simple fix to force-start Explorer.exe once game exits full-screen

Quote:
Originally Posted by RightDeve View Post
Code:
taskkill.exe /f /im explorer.exe
start/w winSPMBT.exe
cd c:\windows
start C:\Windows\explorer.exe
You shouldn't hard-code install directories, people might have different setups etc. Instead you should use the system properties,

Code:
taskkill.exe /f /im explorer.exe
start /w winSPMBT.exe
start %WINDIR%\explorer.exe
[RANT]
In general, never assume anything to be under certain naming scheme but use the system property whenever applicable. One of the reasons I don't like running Windows in my native tongue is because the software writers in the US always assume that the Desktop directory is named "Desktop" and not for example "Työpöytä". Add insult to injury that the accented letters on file names cause commonly bugs to software that is not prepared for those. Another reason not to run a non-english OS is that idiotically the keyboard shortcuts are changed. So Alt+F doesn't open you the Files dialog tab from the menu, you do that with Alt+T. Consistency, dear developers!
[END RANT]
Reply With Quote
Reply

Bookmarks

Tags
cmd file, coil whine, explorer.exe, extended map editor, full screen fix

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 12:30 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.