Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Computer Forums > PC Technology Zone > Windows Operating Systems and Software » A program/script to start new windows explorer process?
Reply
Old 09-26-2009, 02:13 PM   #1 (permalink)
 
Newb Techie

Join Date: Jan 2009

Posts: 6

dave_100 is on a distinguished road

Default A program/script to start new windows explorer process?

Heres the situation- I play a game has a graphical error in Win 7 unless I end explorer while playing, then its fine.

So far I have been doing this:

Starting game
Ive created a batch file that ends explorer, so thats nice and fast to end the process
After explorer has been killed, go back into game, play for half hour
Finish game, and to get explorer back- Ctrl alt del, new>task>type explorer,


Its a bit lengthy, I was wondering if there is any program out there which can remain open while windows explorer is closed, and when im ready, i can just click a button to restart explorer? or if theres a program/ script i can use to do this? any advice would be appreciated, im a complete programming noob so please speak in laymans terms relatively, thanks.

Hope this makes sense,
dave_100 is offline   Reply With Quote
Old 09-26-2009, 06:19 PM   #2 (permalink)
Mak213's Avatar
 

Join Date: Sep 2004

Location: C:\Windows\System32

Posts: 25,730

Mak213 is a name known to allMak213 is a name known to allMak213 is a name known to allMak213 is a name known to allMak213 is a name known to allMak213 is a name known to all

Default Re: A program/script to start new windows explorer process?

What game? This should not be the way it is done. You should be using Compatibilty Mode at least to get the game working properly.

Aside from that there is no program i have seen or heard about over the years that can do what you want.
__________________
R.I.P. Danny L. Trotter
14 Nov 1945 - 4 Sept 2009
Images created by CarnageX | Decaptured...Listen! | Visit Baezware!! | You've been Mak'd! | 儿做好
I do not accept support questions via EMail, PM, IM or my Spaces page! .:|:. This is what happens when an unstoppable force meets an immovable object.
Thanks to all the guys on the staff for your support in my time of need. Hefe you are my personal Hero for your contribution.



<<<< If I help you, or you just like what I said, rep me
Mak213 is offline   Reply With Quote
Old 09-26-2009, 08:12 PM   #3 (permalink)
Osiris's Avatar
 

Join Date: Jan 2005

Location: Kentucky

Posts: 32,259

Osiris is a jewel in the roughOsiris is a jewel in the roughOsiris is a jewel in the roughOsiris is a jewel in the rough

Send a message via ICQ to Osiris Send a message via AIM to Osiris Send a message via MSN to Osiris Send a message via Yahoo to Osiris Send a message via Skype™ to Osiris
Default Re: A program/script to start new windows explorer process?

Just create another batch file that creates a new explorer session.

This wil kill explorer and then restart it. You can tweak it to just start explorer.

@echo off
taskkill /f /IM explorer.exe
explorer.exe

So one click to end explorer
Play Game
One click to start explorer

3 clicks to complete this instead of 6.
__________________
Osiris is offline   Reply With Quote
Old 09-27-2009, 06:15 AM   #4 (permalink)
 
Newb Techie

Join Date: Jan 2009

Posts: 6

dave_100 is on a distinguished road

Default Re: A program/script to start new windows explorer process?

Just create another batch file that creates a new explorer session.

This wil kill explorer and then restart it. You can tweak it to just start explorer.

@echo off
taskkill /f /IM explorer.exe
explorer.exe

So one click to end explorer
Play Game
One click to start explorer

3 clicks to complete this instead of 6.


thanks loads for your reply, this sounds perfect but would this work? Once explorer is closed, how do I access the batch file to open a new explorer task? all desktop icons disappear? can you think of a way round this?


What game? This should not be the way it is done. You should be using Compatibilty Mode at least to get the game working properly.

Aside from that there is no program i have seen or heard about over the years that can do what you want.


Age of empires 2: the conquerors, trust me, this is the only way to do it after extensive research online, compatibility mode doesnt work in 7, if youre interested, more on it here and on various forums:

Age of Empires II: The Conquerors - Wikipedia, the free encyclopedia
. Killing explorer.exe while the game is loading fixes the problem in Windows 7.
dave_100 is offline   Reply With Quote
Old 09-27-2009, 08:01 AM   #5 (permalink)
Mak213's Avatar
 

Join Date: Sep 2004

Location: C:\Windows\System32

Posts: 25,730

Mak213 is a name known to allMak213 is a name known to allMak213 is a name known to allMak213 is a name known to allMak213 is a name known to allMak213 is a name known to all

Default Re: A program/script to start new windows explorer process?

That maybe true for the RC builds but many older games work just fine in the final. Let alone the fact that there is XP Mode as well. There is no reason to do this. There are plenty of alternatives.
__________________
R.I.P. Danny L. Trotter
14 Nov 1945 - 4 Sept 2009
Images created by CarnageX | Decaptured...Listen! | Visit Baezware!! | You've been Mak'd! | 儿做好
I do not accept support questions via EMail, PM, IM or my Spaces page! .:|:. This is what happens when an unstoppable force meets an immovable object.
Thanks to all the guys on the staff for your support in my time of need. Hefe you are my personal Hero for your contribution.



<<<< If I help you, or you just like what I said, rep me
Mak213 is offline   Reply With Quote
Old 09-27-2009, 08:47 AM   #6 (permalink)
 
Newb Techie

Join Date: Jan 2009

Posts: 6

dave_100 is on a distinguished road

Default Re: A program/script to start new windows explorer process?

That maybe true for the RC builds but many older games work just fine in the final. Let alone the fact that there is XP Mode as well. There is no reason to do this. There are plenty of alternatives.

i have the final version of 7, i wasnt really asking about alterrnatives, i have done extensive research and there unfortunately are none. If someone knows know about running the batch file to start explorer, while explorer is closed, that would be awesome,
dave_100 is offline   Reply With Quote
Old 09-27-2009, 09:41 AM   #7 (permalink)
Mak213's Avatar
 

Join Date: Sep 2004

Location: C:\Windows\System32

Posts: 25,730

Mak213 is a name known to allMak213 is a name known to allMak213 is a name known to allMak213 is a name known to allMak213 is a name known to allMak213 is a name known to all

Default Re: A program/script to start new windows explorer process?

Yes there is. XP Mode, Virtual Machines with VMWare, Virtual Box where you run a OS inside of Windows 7 for programs that are not fully compatible. There are solutions other than killing the process. That is a perfectly good alternative it is just one you are unwilling to accept.

Osiris already gave you the batch file in his post above.
__________________
R.I.P. Danny L. Trotter
14 Nov 1945 - 4 Sept 2009
Images created by CarnageX | Decaptured...Listen! | Visit Baezware!! | You've been Mak'd! | 儿做好
I do not accept support questions via EMail, PM, IM or my Spaces page! .:|:. This is what happens when an unstoppable force meets an immovable object.
Thanks to all the guys on the staff for your support in my time of need. Hefe you are my personal Hero for your contribution.



<<<< If I help you, or you just like what I said, rep me
Mak213 is offline   Reply With Quote
Old 09-27-2009, 11:12 AM   #8 (permalink)
Osiris's Avatar
 

Join Date: Jan 2005

Location: Kentucky

Posts: 32,259

Osiris is a jewel in the roughOsiris is a jewel in the roughOsiris is a jewel in the roughOsiris is a jewel in the rough

Send a message via ICQ to Osiris Send a message via AIM to Osiris Send a message via MSN to Osiris Send a message via Yahoo to Osiris Send a message via Skype™ to Osiris
Default Re: A program/script to start new windows explorer process?

You can add a pause after it kills explorer, then once you are done with the game press the enter key to complete the command. The window will stay up.
__________________
Osiris is offline   Reply With Quote
Old 09-27-2009, 01:47 PM   #9 (permalink)
 
Newb Techie

Join Date: Jan 2009

Posts: 6

dave_100 is on a distinguished road

Default Re: A program/script to start new windows explorer process?

Yes there is. XP Mode, Virtual Machines with VMWare, Virtual Box where you run a OS inside of Windows 7 for programs that are not fully compatible. There are solutions other than killing the process. That is a perfectly good alternative it is just one you are unwilling to accept.

Osiris already gave you the batch file in his post above.


hmm yes these are options, hadnt thought of XP mode, thanks for suggesting it. If you had read the posts carefully though you willl see i asked:"If someone knows know about running the batch file to start explorer, while explorer is closed, that would be awesome," , which hadnt been explained (but has now!)

You can add a pause after it kills explorer, then once you are done with the game press the enter key to complete the command. The window will stay up.

Thanks again for coming back to me- this is a much simpler option, and what i was after. I did some googling about how to add a pause, and have done it! this is exactly what i need, i cant thank you enough.
dave_100 is offline   Reply With Quote
Old 09-28-2009, 05:22 PM   #10 (permalink)
Apokalipse's Avatar
 

Join Date: Jun 2003

Location: Melbourne, Australia

Posts: 13,739

Apokalipse has a spectacular aura aboutApokalipse has a spectacular aura about

Default Re: A program/script to start new windows explorer process?

Code:
taskkill /f /im explorer.exe
C:\game_directory\game.exe
start explorer.exe
by opening the game in the batch file without the start command, the console will wait for the game to close/finish before running the next command (which is to open explorer)
__________________

1 + 1 = 3 if you define 3 as a result of 1 + 1
Apokalipse is offline   Reply With Quote
 
Reply

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 Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Explore And Burn Integrates DVD Burning In Windows Explorer Osiris Tips, Tricks & Tutorials 0 08-21-2009 01:40 PM
windows services disapeared from msconfig, after Process failed to start penthoy Windows Operating Systems and Software 2 07-29-2009 11:12 AM
can i install windows from a copied cd onto a licenced pc? raverx3m Windows Operating Systems and Software 19 07-23-2009 03:08 PM
Windows 7 Release Candidate: Download instructions Osiris Windows Operating Systems and Software 16 05-17-2009 07:34 PM
prep for HijackThis Log posting paulmars HijackThis Logs (finished) 38 02-03-2009 06:51 PM