≡ Menu
ipcofig-all-run

Command lines are very useful like ping, ipconfig, chkdsk, etc can help resolve a lot of problem with your computer. No additional software is needed to do this tutorial. In this tutorial, I will teach you how to speed up command line tasks by making a Windows Shortcut which launches, and types in the command line program  for you which save you time by not having to go to Start> Run> Type CMD> Type command.

 All you have to do is make a short cut, type in” cmd /k the command” without the quotes in the shortcut path text box, and give a name.

You also might be interested in reading:

Make a Lock work station & Log off work station short cut in Windows Vista to save time

How to make a Shutdown, Sleep, Restart and Hibernate Desktop Short cuts for Windows Vista

 

Tutorial for making command line Windows Short cuts.

1. Right click your mouse an empty place on your desktop, and pick create short cut from the New menu.

Create short cut  
2. Type cmd.exe /k ipconfig.exe /all in the short cut path text box. the /k keeps the window open after your PC is done executing the task. Ipconfig /all is useful for finding your mac address, dns, and ip address, etc. Click Next.
cmd.exe /k ipconfig.exe /all

cmd.exe /k ipconfig.exe /all

 3. Give your shortcut a descriptive name like CMD IPCONFIG ALL

ipconfig all

ipconfig all

4. Run your short cut.

ipcofig-all-run

ipcofig-all-run

 Some more CMD shortcut commands you might be interested in: Repeat steps 1-3, but replace the path with the command you want to run. These commands also work in the Windows Run box by going to Start>Run> paste command. It is good to learn these commands if you fix computers for a living since odds are your customers will not have these short cuts on their computer except for CMD.exe, SFC, and Chkdsk.

Open blank command prompt windows.
cmd.exe

Networking

Renews all DHCP leases and renew DNS names
cmd.exe /k ipconfig.exe /registerdns

Release IP address for network  card
cmd.exe /k ipconfig.exe /release

Renew the IP address for network card
cmd.exe /k ipconfig.exe /renew

Pings Loop back address
cmd.exe /k ping.exe 127.0.0.1

Operating System and Check disks

System File Checker Scan sys. files now.
cmd.exe /k sfc /scannow

Check Disk (Read Only)
chkdsk.exe

Check Disk Fix Disk errors
chkdsk.exe /f

Disk Defrag
cmd.exe /k defrag.exe

Misc.

Clear Clip board
cmd.exe /c “echo off | clip”

I just listed the commands which I use the most. There is an endless possibility on how many CMD short cuts you can make since there are a lot of commands you can use for cmd.exe. You can buy a book on the A+ certification which is usually pack full of CMD commands. If you want to learn more about speeding up CMD.exe, you should learn about using batch files.

3 comments… add one
  • Office Supplies June 8, 2010, 11:04 am

    Hiya, thanks for posting this up. I’m always looking for new commands that can make my job a bit easier and make my computer use quicker. I’ve seen a few of these before but the networking ones are new.

  • Johnson Yip June 8, 2010, 3:09 pm

    You’re welcome glad you found my CMD networking commands to speed up your windows experience!

  • Toby Chang January 26, 2011, 9:03 pm

    Cool shortcuts, very useful. Thanks a bunch!!! I found a few more shortcuts here: http://www.usingcomputers.co.uk/tutorials/useful-windows-shortcuts.php its worth taking a look at combined with this article. Thanks, keep up the good posts!

    Big Thanks 😀 😀

Leave a Comment