WINDOWS/SOFTWARE Tutorials
Run a Command Prompt command from Desktop Shortcut
Run a Command Prompt command from Desktop Shortcut as shutdown , log-off , ping etc..
To save time you can create Shortcuts to run Command Prompt command from Desktop Shortcut, and can fire them easily by just double clicking on the shortcuts.
1) Go to the desktop and right click on it..
2) Select the new option under it click on Shortcut.
3) Write any Command Prompt command you want to execute on Double Click…
For Ex:- I used ‘ Shutdown ‘ command..
For Ex:- I used ‘ Shutdown ‘ command..
The use of some commands are as follows:-
- Shutdown /s = Shutdown the computer..
- Shutdown /s /f = Shutdown the computer forcefully..
- Shutdown /i = Remote shutdown dialog.
- Shutdown /l = Log-off the computer.
- Shutdown /r = Restart the computer.
- Shutdown /h = Hibernate the computer.
- Shutdown /s /f /t 00 = Force Shutdown Instantly
- Ping xxx.xxx.xxx.xxx -t = To ping any IP address till the ping window is closed.
Advertisement
4) Click next to and give any name you want.
Advertisement
6) Finally A shortcut made.