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..
Run a Command Prompt command from Desktop Shortcut New Shortcut
2) Select the new option under it click on Shortcut.Run a Command Prompt command from Desktop Shortcut Create Shortcut
3) Write any Command Prompt command you want to execute on Double Click…
For Ex:- I used  ‘ Shutdown ‘  command..
Run a Command Prompt command from Desktop Shortcut enter 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.

Run a Command Prompt command from Desktop Shortcut Finish

6) Finally A shortcut made.
 

Advertisement

Run a Command Prompt command from Desktop Shortcut
Enjoy…


Read More Article:

Best PS4 Games Best WordPress plugin 2018

Nitish

My Parents call me Nishu, and I am registered in my death certificate as. . . Oh sorry, in my birth certificate as Nitish Andola. Friends Often Also Call Me as Andy. I hate people who act over smart. I don’t take lot of time to adjust with anybody. It’s my strength rather. I love to live with my friends. I love all those who feel comfortable with me and who make me feel comfortable with them… I always think positive, which have never helped me to achieve anything, but still it has become a habit. I forgive people soon, as I feel this life is too short and we have no time to prove others wrong. I love innovative things. And friends sometime call me as HiFi. I love to be Honest, and one thing I have observed about myself is, I am not a Fan, I believe there is good and bad in everyone and we need to embrace the good. I enjoy the company of people who are FREE. I too love to live freely! I like to interact with nature and am very much interested in adventure sports and fascinated by Astronomy. I respect each and every person on this earth, sometimes even things and like to be a free spirit. Some don't like that, but that's the way I am. I never think badly for anyone...

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button