Re: Command line behavior has changed



I just double checked and

ipconfig /all

doesn't work for me either. Sorry about that.

Does

cmd /k ipconfig /all

work for you?

It does for me.

BTW the /k switch carries out the command after it and leaves the cmd window
open.

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In news:1155859223.344678.207430@xxxxxxxxxxxxxxxxxxxxxxxxxxx,
Jazzeur <Jazzeur@xxxxxxxxx> hunted and pecked:
Unfortunately, in my case, even a command which includes switches will
cause the same problem of premature DOS window closing.

Any other ideas?

Thanks,


Wesley Vogel wrote:
ipconfig with no switches executed from the Run command will do just as
you described, flash a command prompt and close.

Try using switches.

Like

ipconfig /all

for example.

or

cmd /k ipconfig /all

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In news:1155843270.411679.113570@xxxxxxxxxxxxxxxxxxxxxxxxxxxx,
Jazzeur <Jazzeur@xxxxxxxxx> hunted and pecked:
I have Windows XP SP2 Home with all the updates.

I used to be able to invoke the "Run" command line from the Start menu
and, for example, type commands such as "ipconfig". The computer would
then open a simili DOS window and display the IP configuration of my
computer.

Now, when I type a command such as "ipconfig" the DOS window opens, the
data starts to display but the window quikcly closes.

If I type only "cmd", the DOS window opens and remain opened. I can
then type the "ipconfig" command at the DOS prompt and everything
displays as expected.

What has caused this change??

I am puzzled and I would like to resolve.

Thank you,

.



Relevant Pages

  • Re: how do I find what this computers IP address is under Vista
    ... Just for what it's worth, under Vista 32-bit Ultimate I can't get ip address info by simply typing "ipconfig" or "ipconfig /all" into the command box. ... In order to actually see the info I must type "command" in the "start search" box to get a DOS window, and then type "ipconfig /all" in the DOS window. ...
    (microsoft.public.windows.vista.general)
  • Re: Command line behavior has changed
    ... cmd /k ipconfig /all ... BTW the /k switch carries out the command after it and leaves the cmd window ... cause the same problem of premature DOS window closing. ... the DOS window opens and remain opened. ...
    (microsoft.public.windowsxp.general)
  • Re: how do I find what this computers IP address is under Vista
    ... It shows my router IP address. ... address info by simply typing "ipconfig" or "ipconfig /all" into the command box. ... In order to actually see the info I must type "command" in the "start search" box to get a DOS window, and then type "ipconfig /all" in the DOS window. ...
    (microsoft.public.windows.vista.general)
  • Re: Command line behavior has changed
    ... Unfortunately, in my case, even a command which includes switches will ... cause the same problem of premature DOS window closing. ... cmd /k ipconfig /all ...
    (microsoft.public.windowsxp.general)
  • Re: Command line behavior has changed
    ... Unfortunately, in my case, even a command which includes switches will ... cause the same problem of premature DOS window closing. ... cmd /k ipconfig /all ...
    (microsoft.public.windowsxp.general)