If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
DOS Command
When I type ipconfig in (Run) my Dos Window appears then drops
|
Ads |
#2
|
|||
|
|||
DOS Command
On Tue, 29 Jan 2008 15:03:22 -0800, Chaswift
wrote: When I type ipconfig in (Run) my Dos Window appears then drops The Window closes when the command finishes. There are two solutions: 1. Run the command with the /k switch 2. First open a command Window by typing CMD, then type ipconfig in it. -- Ken Blake, Microsoft MVP - Windows Desktop Experience Please Reply to the Newsgroup |
#3
|
|||
|
|||
DOS Command
"Chaswift" wrote in message
... When I type ipconfig in (Run) my Dos Window appears then drops You need to open a command prompt window first. Do either of the following. Start - Run - Enter cmd.exe in the Open box. Enter ipconfig /all at the prompt. Start - Run - Enter cmd.exe /k ipconfig /all in the Open box. Good luck Nepatsfan |
#4
|
|||
|
|||
DOS Command
"Chaswift" wrote in message
... When I type ipconfig in (Run) my Dos Window appears then drops That is because you are running a DOS-mode program that opens a console window to display its stdout (standard output). When the program exits, the console window also closes. If you want the console window to remain open, have something else keep it open: run "cmd.exe" which is the command-line interpreter that also opens its own console window. Then when you run other DOS-mode programs within that shell, the console window remains open (because you exit the program but not cmd.exe to which the console window belongs). So, run "cmd.exe" and then run your DOS-mode program. There should already been shortcuts in your Start menu to run a "Command prompt" (aka DOS shell) which run the cmd.exe program. |
Thread Tools | |
Display Modes | |
|
|