Friday, February 9, 2018

Windows command line tricks

The command “title” can add some text to the command prompt.  For example, “title ADMIN” adds ADMIN to the text of the window.

image

To add a command line shortcut that remains visible, add a /k switch.  For example, “cmd.exe /k ipconfig.exe” will display information and remain on the screen.

image

image

The F7 key displays a list of previous commands.

image

The command “start.” will launch Windows Explorer at the current path.

image

Data can be piped to the clipboard by using “| clip”.  For example, “ipconfig | clip” will copy data to the Windows Clipboard.

image

To view all available Control Panel and Management Console shortcuts, use the command “dir *.cpl & dir *.msc” under Windows\System32.

image

Additional shortcuts can be found using the command “dir SystemProperties*”.

image

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.