Command window opens then disappears

broken image

This might not be a big trick but it is useful while doing certain repeating tasks from the Run dialogue. The new approach to execute ipconfig from Run, would be like the one below.Īfter executing with cmd with the /k switch, the command prompt would stay.

broken image

Using this switch, the given command would be executed but the command prompt window does not disappear but it would remain. Instead of executing ipconfig or any other command from Run, cmd.exe has a switch named /k. If you find this approach too long and would like to save a couple of key depressions, here is the approach that I use. Then I would open cmd from the Run dialogue and hit ipconfig. By practice, I open Start –> Run and execute ipconfig.īut soon after executing this, the ipconfig window appears but it disappears quickly because the command prompt window does not “stay”. The easiest approach is to run the ipconfig command.

broken image

Hence to launch any applications I use Start –> Run dialogue more often than not.Īs a DBA while troubleshooting issues, I need to quickly check the IP Address of a computer. The touchpad comes in to picture only when there is no shortcut for a particular task or I don’t recollect the shortcut. For most of the tasks I use the keyboard shortcuts.