Can’t we make a simple shortcut icon instead?
We’ll simply create a shortcut to it with the appropriate parameters.
Create Shortcut Icons for Enable/DisableRight-choose the desktop or elsewhere, and choose New \ Shortcut from the menu.
Then in the shortcut location box, you’ll add one of two commands listed below.
Right-hit the shortcut and choose Properties, and then choose the shortcut tab.
it’s possible for you to also change the icon by using the Change Icon button.
So now I have two shortcuts that not only look good, but are functional.
You don’t need to run as administrator in XP, of course.
Note: Using these shortcuts will very briefly flash the command prompt window on the screen.
For extra credit, you could use thehstart utility in your shortcut to hide the command prompt window.
Update: This has been successfully tested on Windows 7 as well.