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

Customizing ms-dos prompt in WindowsME

Reply to Message Icon

Original Message
Name: D Steffy
Date: July 9, 2001 at 11:59:16 Pacific
Subject: Customizing ms-dos prompt in WindowsME
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?


Report Offensive Message For Removal

Response Number 1
Name: Doyle
Date: July 9, 2001 at 16:05:10 Pacific
Subject: Customizing ms-dos prompt in WindowsME
Reply: (edit)

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


Report Offensive Follow Up For Removal

Response Number 2
Name: matt
Date: July 10, 2001 at 01:11:16 Pacific
Subject: Customizing ms-dos prompt in WindowsME
Reply: (edit)

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


Report Offensive Follow Up For Removal







Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: Customizing ms-dos prompt in WindowsME

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software