Home > IT Support > Stop auto closing after ipconfig command

Stop auto closing after ipconfig command

Some minor things can be annoying if you do not know the trick to do it in an easy way. One of them is getting the system IP address using ipconfig, or  executing other Windows commands directly from the Start -> Run. The problem is that the command prompt window will close automatically after execution of the command. So to avoid closing the windows automatically you have two options:

  1. Go to Start -> Run
  2. Type cmd and hit enter.
  3. Type the command (e.g ipconfig) in the opened window.

alternatively you can

  1. Go to Start -> Run
  2. Type cmd /K command and hit enter. (e.g cmd /k ipconfig)

CMD /K will stop the command window from closing after the command.

Advertisements
Categories: IT Support
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: