The Windows command line offers access to many useful tools ranging from file system control to networking. A switch you might not know about the cmd.exe tool is /k which keeps the command line window open after the command is run instead of closing it. This is useful for creating shortcuts to run command line tools.
For example, if you want to create a shortcut to ping a particular computer (such as your mail server) you would create a shortcut like so:
For example, if you want to create a shortcut to ping a particular computer (such as your mail server) you would create a shortcut like so:
- Right click on the desktop and select New > Shortcut.
- For the location of the item, enter the command. In this case: cmd /k ping my.mailserver.com
- Save your changes.
Make sure to let me know in the comments below or over on our Facebook page
How you've got on and what you're planning to do next.
No comments:
Post a Comment