"DOS" windows won't stay open with XP

For general computer discussion & help, come here

Moderators: Bakhtosh, EvilHomer3k

Post Reply
User avatar
Zekester
Posts: 6613
Joined: Fri Oct 15, 2004 12:37 pm
Location: Pittsburgh

"DOS" windows won't stay open with XP

Post by Zekester »

Is it DOS that opens when you run something like "ipconfig" with WindowsXP?

Whatever it is, if I try to run it, it just flashes for a split second and then closes.
This happens everytime.

Any ideas?
Name the 3 branches of the US Government: "Judicial, legislative....I can twerk"
User avatar
The Meal
Posts: 28192
Joined: Tue Oct 12, 2004 10:33 pm
Location: 2005 Stanley Cup Champion

Post by The Meal »

Try 'cmd' (no tickmarks), then ipconfig /all at the DOS prompt. :)

~Neal
[edit: took me that long to figure out that the p follows the m in the word 'prompt']
"Better to talk to people than communicate via tweet." — Elontra
User avatar
$iljanus
Forum Moderator
Posts: 14108
Joined: Wed Oct 13, 2004 3:46 pm
Location: New England...or under your bed

Post by $iljanus »

Also from the start button in WinXP:

start>all programs>accessories>command prompt

DOS window opens up and you can type in whatever command you need. Admittedly though, Neal's method is quicker and I'll file it away for future use. I knew there was something you can type into the run window but always forgot what it was, hence the long way to get to the command prompt.
"Who's going to tell him that the job he's currently seeking might just be one of those Black jobs?"
-Michelle Obama 2024 Democratic Convention

Wise words of warning from Smoove B: Oh, how you all laughed when I warned you about the semen. Well, who's laughing now?
User avatar
Zekester
Posts: 6613
Joined: Fri Oct 15, 2004 12:37 pm
Location: Pittsburgh

Post by Zekester »

Thanks, that worked. :D
Name the 3 branches of the US Government: "Judicial, legislative....I can twerk"
User avatar
ChrisGwinn
Posts: 10396
Joined: Wed Oct 13, 2004 7:23 pm
Location: Rake Trinket
Contact:

Post by ChrisGwinn »

The reason it closes is that you're running the program ipconfig and the program terminates when it finishes running, closing the appropriate windows. There used to be a GUI version of ipconfig, but it seems to have vanished.
User avatar
Default
Posts: 6550
Joined: Thu Oct 14, 2004 9:01 pm
Location: Handling bombs.

Post by Default »

That was winipconfig. That was the ip utility for win 9X.
"pcp, lsd, thc, tgb...it's all good." ~ Kraken
User avatar
Rip
Posts: 26952
Joined: Tue Oct 12, 2004 9:34 pm
Location: Cajun Country!
Contact:

Post by Rip »

They actually made one for 2000/XP as well. You had to download it, or have the resource cd. I tried it but got used to just using ipconfig.
User avatar
Bad Demographic
Posts: 7781
Joined: Wed Oct 13, 2004 9:21 am
Location: Las Cruces, NM

Post by Bad Demographic »

Also, if you type "cmd -x", you'll get a dos-window you can scroll up and down in instead of having to type "|" to keep stuff from scrolling up and off the screen.
"Those who can make you believe absurdities can make you commit atrocities." Voltaire

Black Lives Matter
User avatar
Caine
Posts: 3765
Joined: Fri Oct 22, 2004 1:04 am
Location: Center of the unknown universe.

Post by Caine »

got this off of a pretty good site MSCEworld
1. Right-click an empty spot on the desktop and choose New > Shortcut.
2. Type CMD and press Next then Finish. A new shortcut appears on the desktop.
3. To customize the CMD shortcut right-click it and choose Properties.
4. In the Options tab make sure the QuickEdit mode check-box is selected. NT 4 does NOT have this option selected. QuickEdit lets you perform Copy/Paste operations in a CMD window by right-clicking the text within the window.
5. In the Layout tab make the Width of both the Screen Buffer and the Window Size to 90, and make the Screen Buffer Height 999. This will let you scroll up and down within the CMD window. NT 4 does NOT have this option selected.
6. In the Shortcut tab, in the Target pox, add a "/f:1" to the target (without the quotes). This will let you perform Auto Complete actions in the CMD window. If you want to enter a filename with a long name, type in the first 2-3 letters of the filename and press CTRL+F to scroll the available filenames. Do the same to folder names by pressing CTRL+D.
7. While you're in the Shortcut tab, you can also enable a shortcut key sequence to fire the CMD shortcut. I use CTRL+ALT+F4 but you can select your own favorite sequence.
8. Drag the CMD shortcut the right mouse button and place it on an empty spot in the Quick Launch toolbar.
9. Let go of the right mouse button. Select Copy Here.
10. You now have a nice and working CMD shortcut.
User avatar
Rip
Posts: 26952
Joined: Tue Oct 12, 2004 9:34 pm
Location: Cajun Country!
Contact:

Post by Rip »

Caine wrote:got this off of a pretty good site MSCEworld
1. Right-click an empty spot on the desktop and choose New > Shortcut.
2. Type CMD and press Next then Finish. A new shortcut appears on the desktop.
3. To customize the CMD shortcut right-click it and choose Properties.
4. In the Options tab make sure the QuickEdit mode check-box is selected. NT 4 does NOT have this option selected. QuickEdit lets you perform Copy/Paste operations in a CMD window by right-clicking the text within the window.
5. In the Layout tab make the Width of both the Screen Buffer and the Window Size to 90, and make the Screen Buffer Height 999. This will let you scroll up and down within the CMD window. NT 4 does NOT have this option selected.
6. In the Shortcut tab, in the Target pox, add a "/f:1" to the target (without the quotes). This will let you perform Auto Complete actions in the CMD window. If you want to enter a filename with a long name, type in the first 2-3 letters of the filename and press CTRL+F to scroll the available filenames. Do the same to folder names by pressing CTRL+D.
7. While you're in the Shortcut tab, you can also enable a shortcut key sequence to fire the CMD shortcut. I use CTRL+ALT+F4 but you can select your own favorite sequence.
8. Drag the CMD shortcut the right mouse button and place it on an empty spot in the Quick Launch toolbar.
9. Let go of the right mouse button. Select Copy Here.
10. You now have a nice and working CMD shortcut.
Hey I like that. I wonder If a script could be written to add that to all users? Then I could maybe shoove it to systems with GPO.
User avatar
Caine
Posts: 3765
Joined: Fri Oct 22, 2004 1:04 am
Location: Center of the unknown universe.

Post by Caine »

i wouldn't even worry about making it into a script. just copy that shortcut to a network drive and script it to be copied to "c:\documents and settings\%user%\desktop\"
User avatar
Zaxxon
Forum Moderator
Posts: 28645
Joined: Wed Oct 13, 2004 12:11 am
Location: Surrounded by Mountains

Post by Zaxxon »

Why you would want to encourage your users to have access to a command prompt is another question entirely. :shock:
User avatar
The Meal
Posts: 28192
Joined: Tue Oct 12, 2004 10:33 pm
Location: 2005 Stanley Cup Champion

Post by The Meal »

Bad Demographic wrote:Also, if you type "cmd -x", you'll get a dos-window you can scroll up and down in instead of having to type "|" to keep stuff from scrolling up and off the screen.
Awesome! I wasn't aware of that parameter. Learn something new (and useful) every day. :)

~Neal
"Better to talk to people than communicate via tweet." — Elontra
User avatar
Rip
Posts: 26952
Joined: Tue Oct 12, 2004 9:34 pm
Location: Cajun Country!
Contact:

Post by Rip »

Zaxxon wrote:Why you would want to encourage your users to have access to a command prompt is another question entirely. :shock:
Shoot most of my customers want every user in the domain to have local admin rights. You can preach and preach. They would rather pay me and my crew to run around behind them fixing stuff. :?:
“A simple democracy is the devil’s own government.”
— Benjamin Rush
--
User avatar
Zekester
Posts: 6613
Joined: Fri Oct 15, 2004 12:37 pm
Location: Pittsburgh

Post by Zekester »

There's definately something wacky with my desktop shortcuts.....I tried that shortcut tip from Caine, and it took 30 seconds to access the right-click menu :x
Name the 3 branches of the US Government: "Judicial, legislative....I can twerk"
User avatar
Clanwolfer
Posts: 4048
Joined: Sun Jan 02, 2005 5:54 pm
Location: Union County, NJ

Post by Clanwolfer »

Zekester wrote:There's definately something wacky with my desktop shortcuts.....I tried that shortcut tip from Caine, and it took 30 seconds to access the right-click menu :x
Install any software with shell extensions lately? There are a few programs, especially antivirus, that I've seen do this; for whatever reason, their 'scan this file' shell extension causes pretty hideous delays. Also, check in your filetypes for the 'New' command, you might have a few hundred custom types in there from third-party software.
User avatar
Zekester
Posts: 6613
Joined: Fri Oct 15, 2004 12:37 pm
Location: Pittsburgh

Post by Zekester »

WTF is a shell extension? :?:

And am I checking for file types under folder options?

Thanks :)
Name the 3 branches of the US Government: "Judicial, legislative....I can twerk"
User avatar
Clanwolfer
Posts: 4048
Joined: Sun Jan 02, 2005 5:54 pm
Location: Union County, NJ

Post by Clanwolfer »

A shell extension is a thing in a new program that shows up when you right-click on the standard Windows right-click menu... for example, if you install Norton, and then when you right-click a file, 'Scan This File' comes up along with open, rename, delete, etc., that's a shell extension.

And for file types, just right-click on your desktop and expand the 'New' option. Default Windows ones are pretty slim, but my general rule is there really shouldn't be more than 20 things on that menu, 40 for an old/well-used machine.
User avatar
Zekester
Posts: 6613
Joined: Fri Oct 15, 2004 12:37 pm
Location: Pittsburgh

Post by Zekester »

Ahhh, ok.

So the only really new thing that I installed recently that added a shell extension, was Ulead burning software.
It's called a "burn document"
Maybe that's it?

Other than that, I have about 20 other choices that have pretty much been there for awhile.
Name the 3 branches of the US Government: "Judicial, legislative....I can twerk"
User avatar
Clanwolfer
Posts: 4048
Joined: Sun Jan 02, 2005 5:54 pm
Location: Union County, NJ

Post by Clanwolfer »

It's worth a try, anyway. You can try uninstalling it and checking if it speeds back up... if that is indeed the case, just don't install the extension if it gives you the option. If it goes ahead and installs without asking, you can use one of several shareware or freeware tools (I think Tweak-XP does it best, IIRC... but it's been a long time) that will let you get rid of that particular extension.
Post Reply