Need help creating a basic (?) program.

Hey,my pc has been acting up and from time to time I have to restart explorer.exe.
The reason I do this is because whenever I hover my mouse over an icon on the taskbar it's continously lit up,it's extremely annoying since if it's lit up I don't know what's my cursor position for a second.(I'm using w8)
What I wanna do it's a program that closes and opens explorer.exe.
I don't have any advanced c++ knoweledge,please help :D.
Last edited on
You could just write a powershell script

Stopping a process:
http://ss64.com/ps/stop-process.html

Starting a process:
http://ss64.com/ps/invoke-item.html
I know only basic c++ ,nothing else. That's why I said I need help :/
C++ is not really what you want to do this with, if you only know the basics.

http://www.powershellpro.com/powershell-tutorial-introduction/

You will need to save a file in something other than .txt
http://lifehacker.com/5883860/change-the-file-extension-of-any-file-through-windows-save-as-menu

"script.ps1":
Stop-Process -name explorer
Invoke-Item c:\windows\explorer.exe


You might run into a weird bug with powershell not wanting to launch certain executables. This link will help with that:
http://support.microsoft.com/kb/832434

Also I did not need the Invoke-Item command on my computer, because explorer automatically restarted after being killed.
Topic archived. No new replies allowed.