New Command Prompt Tips

by Eric Geier [Published on 7 Feb. 2012 / Last Updated on 7 Feb. 2012]

Tips and tricks to use new Command Prompt features.

Here are a couple tips and tricks of using the Command Prompt in Windows Vista and later:

  • Open a new Command Prompt window directly to a folder location by right-clicking the folder in Windows while holding the Shift key and then selecting Open Command Window Here.
  • Open a new Command Prompt window with administrator privileges by right-clicking the Command Prompt icon and choosing Run as administrator.
  • Drag and drop files or folders onto a Command Prompt window to quickly paste in its location.
  • Press F7 for command-line history, and then hit Enter to execute.
  • Send a command’s output to the Windows clipboard by adding a pipe, space, and “clip” to a command. For example, to send a directory listing to the clipboard: dir | clip
  • Make the command processor wait for a specified number of seconds or until a key is pressed: timeout /T n (replace n with desired number of seconds)

See Also

The Author — Eric Geier

Eric Geier (Dayton, Ohio) is a Freelance  Tech Writer and Author specializing in computer networking. He's also the Founder and Owner of NoWiresSecurity, which provides a hosted cloud-based RADIUS service to help businesses easily secure their Wi-Fi networks with the Enterprise (802.1X) mode of WPA/WPA2 security. He’s also the Founder and Owner of On Spot Techs, which provides on-site computer and technology services.

Featured Links