Why does the windows 7 run dialog box disappear after I hit enter?
Asked by
grntwlkr (
179)
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
Open run
type CMD, hit enter
then type ipconfig /all
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
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.
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.
@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
This question is in the General Section. Responses must be helpful and on-topic.