Computer Hope

Microsoft => Microsoft DOS => Topic started by: NAMED on October 30, 2004, 09:47:15 PM

Title: alert
Post by: NAMED on October 30, 2004, 09:47:15 PM
i was wondering if it is possible to make a poppup
alert in dos like the javascript alert
http://www.pageresource.com/jscript/jalert.htm

so that if i write a batch file and onpen an alert will open
is that possible?
Title: Re: alert
Post by: MalikTous on November 03, 2004, 12:20:54 AM
You can have a batch file deliver a text file in response to an error:

if errorlevel 1 type error.txt

If you include the character 07h in the text file you get a beep from the PC speaker.