Computing.Net > Forums > Programming > dos window disappears in Windows

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

dos window disappears in Windows

Reply to Message Icon

Name: graphica
Date: February 13, 2006 at 10:58:55 Pacific
OS: xp pro
CPU/Ram: Intel 1.5Ghz
Comment:

hello
When I run a batch file in windows, the dos screen flashes momentarily then disappears. is there a way to cause the display to remain on the windows screen. Or better yet to have the result of the batch file (a four digit number) displayed on my windows desktop

thanks for any help on this



Sponsored Link
Ads by Google

Response Number 1
Name: Mechanix2Go
Date: February 13, 2006 at 12:25:13 Pacific
Reply:

You can get it to stay open by putting a PAUSE as the last line.

To put it on the desktop, if the part which puts out your 4 digit number is 'generate", try this

generate >"C:\Documents and Settings\Administrator\Desktop\4digit.txt"

You'll need to tailor the path to suit.


If at first you don't succeed, you're about average.

M2


0

Response Number 2
Name: graphica
Date: February 13, 2006 at 14:19:41 Pacific
Reply:

thanks M2, it worked like a charm


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: dos window disappears in Windows

About DOS/Windows versions www.computing.net/answers/programming/about-doswindows-versions/381.html

MSVC++ dos window www.computing.net/answers/programming/msvc-dos-window/1741.html

How to position dos window www.computing.net/answers/programming/how-to-position-dos-window-/17283.html