Category : Utilities for DOS and Windows Machines
Archive   : STUFF40.ZIP
Filename : STUFFERR.BAT

 
Output of file : STUFFERR.BAT contained in archive : STUFF40.ZIP
@echo off
echo off
rem ************* stufferr.bat *****************************************
rem A batch file to cause Stuffkey to generate certain error messages.
rem Intended to be used in conjunction with Stuffkey.W51 - to document
rem real live error messages from that program.
rem Note this is intended to be run with redirection, i.e.,
rem stuffer > stufferr.txt
rem ****************************************************************
echo.
echo Stuffkey error examples, generated by Stufferr.bat
echo.
echo EXAMPLE 1: THE COMMA FOLLOWING THE PROMPT PROBABLY SHOULDN'T BE
echo THERE. THIS MAKES THE FIRST ARG, DX (COLUMN) 0, AND SHIFTS THE
echo REMAINING ARGS LEFT. THUS, THE 0 CHANGES FROM A LEGAL DY (ROW) ARG
echo TO AN ILLEGAL SLOP ARGUMENT. NOTE THE ARROW POINTS TO THE ARG AFTER
echo THE ERROR; A QUIRK TO BE AWARE OF.
echo.
stuffkey +0 +1 {Prompt},12,0,4,"Password: " 'Poltergeist' 13
echo.
echo.
echo EXAMPLE 2: THE 128 DX (COLUMN) ARG. IS ILLEGAL. VALUES ARE +/- 127.
echo.
stuffkey +0 +1 {Prompt}128,0,4,"Password: " 'Poltergeist' 13
echo.
echo.
echo EXAMPLE 3: A SPACE IS A LEGAL TOKEN, LEADING SPACES ARE NOT.
echo.
stuffkey +0 { } {F12} { F12}
echo.
echo.
echo EXAMPLE 4: THE TRAILING SPACE CAUSES THIS TOKEN TO BE UNRECOGNIZED. NOTE
echo THE DIFFERENCES IN THE ERROR LOCATION POINTER BETWEEN INVALID TOKENS AND
echo UNRECOGNIZED TOKENS/COMMANDS.
echo.
stuffkey +0 { } {F12} {F12 }
echo.
echo.
echo EXAMPLE 5: TIME FORMAT CAN BE HH:MM:SS OR .TT, BUT NOT BOTH
echo.
stuffkey + +.1 +1 +1.1 F0,1,1920,"Cshow version" + +1 13"*.gif"13
echo.
echo.
echo EXAMPLE 6: THE FIND COMMAND COORDINATES START AT 1,1 NOT 0,0.
echo.
stuffkey + +.1 +1 F0,1,1920,"Cshow version" + +1 13"*.gif"13
echo.
echo.
echo EXAMPLE 7: THE QUOTES AFTER THE 13 MAKE IT LOOK LIKE A BAD NUMBER. IT IS
echo A GOOD IDEA TO LEAVE A SPACE BETWEEN ITEMS.
echo.
stuffkey + +.1 +1 F1,1,1920,"Cshow version" + +1 13"*.gif"13
echo.
echo.



echo EXAMPLE 8: NOTE THE LOCATION OF THE ERROR POINTER.

stuffkey + {TimeOut}.1 {TokenTooLong}


  3 Responses to “Category : Utilities for DOS and Windows Machines
Archive   : STUFF40.ZIP
Filename : STUFFERR.BAT

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/