CMD: Create Shortcut To Command Line/Dos Programs
Simple way to create shortcuts to command line programs. You favorite cmd is only one click away.
Command line shortcuts on the desktop? What’s next, dogs and cats living together in harmony?
1. Right click on an empty space on the desktop to open the context menu
2. Select New
3. Select Shortcut with a left-click
4. In the location box type cmd /k plus whatever command you want.
For example, if you want a shortcut to ping tech-recipes, your location box would contain:
cmd /k ping tech-recipes.com
5. Select Next
6. Name your shortcut and push Finish
This works on all versions of windows including Windows 7 and Windows 8.









nal said on March 25, 2009
lol
ben said on April 25, 2009
this does not work if ur administrator has blocked it (on ur school computer)
polytonality said on May 5, 2009
Try the pressing the ‘Windows’ and ‘R’ keys at the same time to bring up “Run”; then, type CMD and press ‘Enter’. Might work, depending on user permissions….
Anonymous said on October 16, 2009
This is exactly what I was looking for. I had been monitoring my ping by doing “ping http://www.example.net -t” in the command box, but when I started doing it almost daily I figured I should find a way to automate it instead of typing every time. (Of course, it’s probably better if you have a good ping app, but this works and it’s easy.)
Also, the site I was pinging was not example.net. That was just an example.
Anonymous said on January 6, 2010
Thank you for your shortcut info cmd /k to emulation shell. How can I extend this shortcut to start a dos program such as 123r23.exe ?
Anonymous said on February 19, 2010
lol just make a new file and type CMD in it then save it as somthing.bat and run it!
Name said on March 8, 2010
hey im at school theyve blocked cmd is there away to get it up easily without system32 and the likes
Varun said on April 24, 2010
Thanks for
I have been looking for this since long…
bow said on May 21, 2010
please help,about that knowladge….please sent to my email..thnaks
bow said on May 21, 2010
how,to make shortcut from dos……..
Ravi_mht2005 said on July 15, 2010
ok this is nice tips
thanx.
Vikas pal said on December 1, 2010
thankssssssssssssssssssss
Mathias_pk said on December 2, 2010
lol, thanks to you i have learned how to make a fake / prank virus :-)
make the shortcut and type:
cmd k shutdown -r -f -c “WARNING! your computer has detected a fatal virus and will now restart. All data will be lost after restart.” -t 59
than change the icon of the shortcut at (right mouse) properties > change icon
type in the upper text box pifmgr.dll (press enter and it will give you a list of nice icons to chose from)
than you change the name of the shortcut into something that will fit with the icon and make it look like a simple nice game.
after that when you will open it, it will give you 59 seconds and then the computer will simply restart. at the other hand, people who don’t know this will read, and think that they have installed a virus..
if you want to test this to see if it works correctly without having to restart your computer, than you can make another shortcut:
cmd /k shutdown -a
this will abort the shutdown after you double click on it. :)
Imtiyaz Shaikh said on April 5, 2011
Thanks, Its working. :)
azeem said on September 10, 2011
thhhhhhanks much
jrexz said on September 26, 2011
thanks a lot!
just the one that im lookin for
selva said on January 26, 2012
thank you working fine
Leonard said on February 4, 2012
Thanks.