Computing.Net > Forums > Windows Me > Customizing ms-dos prompt in WindowsME

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.

Customizing ms-dos prompt in WindowsME

Reply to Message Icon

Name: D Steffy
Date: July 9, 2001 at 11:59:16 Pacific
Comment:

How can I capture output from the MS-DOS command prompt in WindowsME? All the normal tricks aren't working for me.

I'm using javac to compile java code. Javac spews out a long message. I try to capture it like this:

javac SomeClass.java | more

That doesn't work. Command prompt behaves as if I didn't pipe anything to more.

javac SomeClass.java > somefile.txt

That doesn't work - only an empty file gets produced.

There is also no way to significantly increase the screen buffer, so you can't scroll to read all the lines that you missed.

Does anyone have the solution, other than spending hundreds of dollars on an NT or Win2000 license for a more functional command prompt?



Sponsored Link
Ads by Google

Response Number 1
Name: Doyle
Date: July 9, 2001 at 16:05:10 Pacific
Reply:

D Steffy....I have had every version (and still have) of DOS since DOS 1.0 and I don't remember either piping or redirecting working quite that way. Of course I am getting old now so that could explain why I don't remember...lol Anyway, if I am not mistaken either piping or redirecting to a file only worked with DOS internal commands such as "DIR", "TYPE", etc... However if I remember correctly you can redirect file output to the printer. javac SomeClass.java > prn I just tried piping and redirecting as I remember them working and it worked fine. Let me know if redirecting to the printer works. If not I still have every version of DOS and all the books so I know we can come up with something. It's my dinner time but as soon as I am done I will get my books out and check. (Man I loved DOS, ahh the good old days..lol).

Regards,
Doyle


0

Response Number 2
Name: matt
Date: July 10, 2001 at 01:11:16 Pacific
Reply:

dos was a beautiful thing. Shame Microsoft had to kill it.


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 Windows Me Forum Home


Sponsored links

Ads by Google


Results for: Customizing ms-dos prompt in WindowsME

MS DOS prompt in WinME www.computing.net/answers/windows-me/ms-dos-prompt-in-winme/5043.html

restarting in ms-dos prompt www.computing.net/answers/windows-me/restarting-in-msdos-prompt/31159.html

cant play ms-dos games with windowsme www.computing.net/answers/windows-me/cant-play-msdos-games-with-windowsme/13251.html