[Help] How to create a shortcut
I am developing a project in which on clicking on create button A shortcut to disable Firewall in Windows 7 will be created on desktop.
The command is
netsh firewall set opmode enable
We can though simply create a shortcut through desktop > right clcik > new > shortcut > netsh firewall set opmode enable > finish
But I want to create it when user want on desktop any ideas how to do iy.
Re: [Help] How to create a shortcut
There's no way to do it in managed code, unless you can find something in the deployment part of the Framework. The only way I've seen is using the Windows Script Host.
http://www.knowdotnet.com/articles/c...ondesktop.html
Re: [Help] How to create a shortcut
Can some one write a code for this shortcut
netsh firewall set opmode enable