cleanly stop and restart explorer.exe

By Locrian_Lyric ·
Hi, I need to cleanly stop, then restart explorer. I have some older programs which conflict with explorer in windows 7.

Currently, I am doing this with .bat files like this:

cd C:\windows\system32
TASKKILL /F /IM "explorer.exe"
cd C:\"Program Files (x86)"\OldPrograms
start /w C:\"Program Files (x86)"\OldPrograms\Prog1.exe
cd c
start C:\Windows\explorer.exe

The problem is that this is getting annoying and I have several. Is there a way to do this through code? Preferably VB? I'm putting together an application that will let me choose which program to run, then disable explorer, then enable it upon termination of the program I am running.

Any help would be greatly appreciated.

This conversation is currently closed to new comments.

12 total posts (Page 2 of 2)   Prev   01 | 02
| Thread display: Collapse - | Expand +

All Answers

Collapse -

Did you try the compatibility setting in windows?

by Slayer_ In reply to cleanly stop and restart ...

Does setting compatibility mode on the exe to 256 colours help?

Have you tried the MS compatibility tools? com/en-ca/download/details.aspx?id=7352
Remove the space to make the link work. I think that's the right program. I haven't had to use it in ages. Last time I used it was to disable the auto UAC prompt on an exe.

Back to Software Forum
12 total posts (Page 2 of 2)   Prev   01 | 02

Related Discussions

Related Forums