General Question

grntwlkr's avatar

Why does the windows 7 run dialog box disappear after I hit enter?

Asked by grntwlkr (179points) December 17th, 2009

after I type any command (for example ipconfig /all), the dos window comes up and very quickly goes away before I can do or read anything. Why does this happen? How can I fix it?

Thanks

Observing members: 0 Composing members: 0

5 Answers

grntwlkr's avatar

Open run

type CMD, hit enter

then type ipconfig /all

ragingloli's avatar

press the start button > run > cmd
this opens the command prompt.
the reason the dos window closes immediately when you type the ipconfig command in run, is that the system executes the ipconfig command directly

IchtheosaurusRex's avatar

Here’s a trick:

Open Start, Programs, Accessories. Find Command Prompt there.
Right-click and drag it onto your desktop, select “Create Shortcut Here.”
Right-click the icon and select Properties. Select the Shortcut tab
Click the Advanced… button. Check “Run as administrator” and click OK.

From that point onward, you will have a privileged shortcut on your desktop, from which you can run any Windows command with administrative rights.

BhacSsylan's avatar

Administrator rights don’t have anything to do with it. Almost anything put into the ‘Run’ command has admin rights, i believe, hence that little shield on the ‘Run’ button. It’s as @ragingloli said, the dos window opening and closing is Windows running your command. The run box is just a nice overlay for a DOS prompt. So, unless you somehow hide it, that will show up every time.

IchtheosaurusRex's avatar

@BhacSsylan , it isn’t a DOS prompt. It’s a Win32 command prompt. Different thing, same look. If you want command.com, it’s still there, but you have to enter it as such. I suggested admin rights because he will need them to do anything with ipconfig except look at his settings.

Answer this question

Login

or

Join

to answer.

This question is in the General Section. Responses must be helpful and on-topic.

Your answer will be saved while you login or join.

Have a question? Ask Fluther!

What do you know more about?
or
Knowledge Networking @ Fluther