home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Media Share 9
/
MEDIASHARE_09.ISO
/
batch
/
abtvew.zip
/
ALEARNME.BAT
< prev
next >
Wrap
DOS Batch File
|
1993-10-07
|
23KB
|
671 lines
@ECHO OFF
echo off
REM PAGE 1
AMSG +27 15 113 "Learn me" "HOW TO USE THE A BATCH VIEW UTILITY PROGRAMS"
REM PAGE 2
AMSG +27 15 113 " 30 Minutes" /ask "Tutorial takes Approximately 30 minutes." Continue
IF ERRORLEVEL 1 GOTO TOK
IF ERRORLEVEL 0 GOTO TUTEND
:TOK
REM PAGE 2
ACLS +31
AECHO @205:75
AECHO "You can display a Quick Help Screen for any of the utility programs"
AECHO "except Aecho.exe by typing its name on the dos command line. The help"
AECHO "screens will provide you with a short description of how the program"
AECHO "operates. The Aecho help screen may be viewed by using it's /h option."
AECHO @196:32
AECHO "Just enter the program name on the command line,"
AECHO "like this...C:\ ACLS."
AECHO "This tutorial will display several of the utility program help screens."
AECHO @196:32
AECHO "Here's a look at the help screen for the ACLS program."
AECHO @196:32
AMSCROLL /pauz +27 27 A
REM PAGE 3
ACLS
AECHO
AECHO @205:75
AMSCROLL /pauz +116 27 A
ACLS /hz +11
REM PAGE 4
AECHO @205:75
AECHO "The method of clearing the screen that you just saw was done with"
AECHO "the ACLS utility program using the /hz switch."
AECHO @196:32
AECHO "ACLS provides several different methods to clear the display"
AECHO "and is very simple to use."
AECHO @196:32
AECHO "You designate the way ACLS will clear the display by passing it the"
AECHO "desired option switch on the Dos command line."
AECHO @196:32
AECHO "You're probably already familiar with switches from using DOS."
AECHO "ACLS operates in a similar manner."
AECHO @196:32
AECHO "A switch or an option is entered after the program name"
AECHO "and separated by a space."
AECHO @196:32
AECHO "Like this.... ACLS /hz"
AECHO @196:32
AECHO "Make sure you enter a space between the program name and the switch!"
AECHO @196:32
AECHO "Just in case you missed some of the ACLS options the first time,"
AECHO "here's a chance to check them out again."
AECHO @196:32
AMSCROLL /pauz +113 27 A
ACLS
REM PAGE 5
AECHO
AECHO @205:80
AMSCROLL /pauz +112 27 A
ACLS +23
AECHO @205:75
AECHO "ACLS can also be used to change the default screen colors."
AECHO @196:32
AECHO "If you have a color monitor, the text you're reading should"
AECHO "be light gray and the background blue."
AECHO @196:32
AECHO "To use ACLS to change the screen colors, just enter an"
AECHO "an attribute preceeded by a + symbol."
AECHO @196:32
AECHO "Typing ACLS +23 on the command line produces this screen."
AECHO "The screen attribute is made by adding a foreground and background"
AECHO "color. 7 + 16 = 23. 7 = light gray, 16 = Blue."
AECHO @196:32
AECHO "All the A BATCH VIEW Utility Programs use color attributes to"
AECHO "control screen colors. Attributes can be referenced in the"
AECHO "Software Manual, or by entering a /c or color switch alone"
AECHO "after any of the utility program names that use attributes."
AECHO "The AEXAMPLS.BAT file will also demonstrate the use of attributes."
AECHO @196:32
AECHO "Typing ... ACLS color or ACLS /c, displays the attributes."
AECHO @196:32
AMSCROLL /pauz +113 27 A
REM PAGE 6
ACLS color
AMSCROLL /pauz +112 27 A
REM PAGE 7
ACLS /out +7
AECHO @205:75
AECHO "HOW TO USE AMSG"
AECHO @196:32
AECHO "AMSG generates display windows for any relevant information"
AECHO "you might wish to pass on to users of your batch files."
AECHO @196:32
AECHO "You can also use it to ask questions to determine the"
AECHO "appropriate course of action for your batch file."
AECHO @196:32
AECHO "To use AMSG you must tell it what to put on the display screen."
AECHO "You pass the controlling parameters to AMSG in the same manner"
AECHO "that was demonstrated for the ACLS program."
AECHO @196:32
AECHO "AMSG automatically centers the message window on the screen."
AECHO @196:32
AECHO "To display a black & white message"
AECHO "you would type..... AMSG 197 @34Hey you, read this!@34"
AECHO @196:32
AMSCROLL /pauz +112 27 A
REM PAGE 8
AMSG 197 "Hey you, read this!"
REM PAGE 9
AECHO @196:32
AECHO "As was just seen, the window is automatically centered on the screen"
AECHO "and an instructional prompt is added to your text.."
AECHO @196:32
AECHO "Hopefully, you're still wondering what the number 197 did on the previous"
AECHO "display screen. 197 represents the ascii code that filled the background"
AECHO "screen providing the wallpaper and allowing you to see the shadowed backdrop"
AECHO "of the pop up window. You may also enter a text string in this field. This"
AECHO "was done with the first two screens you saw. You can use the AVIEWDOC Batch"
AECHO "file to see a listing of Ascii codes."
AECHO "The format for black and white message prompts is...."
AECHO @196:32
AECHO "AMSG screen-ascii messages...."
AECHO @196:32
AECHO "SCREEN-ASCII = The Ascii code for the background."
AECHO @196:32
AECHO "Before we cover information about message options,"
AECHO "here's a quick look at the available ASCII CODES."
AECHO "Again, you can use AVIEWDOC.BAT to view them."
AECHO @196:32
AMSCROLL /pauz +112 27 A
REM PAGE 10
APAGE +23 ASCIICDS.DOC
ACLS +7
REM PAGE 11
AECHO @205:72
AECHO "The message option is where you enter the text you want displayed."
AECHO @196:32
AECHO "Entering...AMSG 197 @34Hey you, read this!@34 displays a message"
AECHO "window with the text on one line."
AECHO @196:32
AECHO "Enclosing your message within quotation marks ensures that"
AECHO "it will be displayed as one line of text. If you wish to break"
AECHO "up your message into several lines, enclose each segment of text"
AECHO "with quotes. The text is automatically centered inside the window."
AECHO @196:32
AECHO "AMSG 197 @34Hey you,@34 @34read this!@34"
AECHO @196:32
AECHO "This will display your message on two lines in the display window."
AECHO @196:32
AECHO "To review what was just covered and see what else AMSG can do"
AECHO "here's a look at its Quick Help Screen."
AECHO @196:32
AMSCROLL /pauz +112 27 A
REM PAGE 12
AMSG
AMSCROLL /pauz +112 27 A
REM PAGE 13
ACLS /vt +31
AECHO @205:72
AECHO "Amsg allows you to display information about the computer system"
AECHO "with, or without adding your own message text."
AECHO @196:32
AECHO "To do this you add the desired option switch in this format.."
AECHO @196:32
AECHO "AMSG screen-ascii [option switch] messages...."
AECHO @196:32
AECHO "There are six available option switches."
AECHO "Three switches display system information ( /td, /dsk, /env )."
AECHO "The ( /ask ) option turns your message into a question."
AECHO "Two options allow input ( /npt, /erl )."
AECHO @196:32
AECHO "Its a lot easier to show you what the switches do, as opposed"
AECHO "to describing them, so here's a few examples."
AECHO @196:32
AMSCROLL /pauz +27 27 A
REM PAGE 14
AMSG +27 15 113 "Chronometer" /td "/td - Shows the Time and Date"
REM PAGE 15
AMSG +27 15 113 "Logical Disks" /dsk "/dsk - Shows the Directory and Disk Drives"
REM PAGE 16
AMSG +27 15 113 "Environment" /env "/env - Shows your Environment Variables and Dos Version"
REM PAGE 17
AMSG +27 15 113 "Ask me" /ask "/ask - Shows a test question with two answers" "Press Y or N"
REM PAGE 18
IF ERRORLEVEL 1 GOTO YSEL
IF ERRORLEVEL 0 GOTO NOSEL
:YSEL
AECHO @205:72
AECHO "You selected a yes answer and AMSG returned Errorlevel code 1"
GOTO SELEND
:NOSEL
AECHO @205:72
AECHO "You selected a no answer and AMSG returned Errorlevel code 0"
:SELEND
AECHO "to the batch file."
AECHO @196:32
AECHO "The /ask option enables you to force a binary question."
AECHO "It only accepts a Y or N keypress but is not sensitive"
AECHO "about upper or lower case responses."
AECHO @196:32
AECHO "AMSG returns an errorlevel code of 0 if N is pressed,"
AECHO "and 1 if Y is pressed."
AECHO @196:32
AMSCROLL /pauz +27 27 A
REM PAGE 19
ACLS /splt +95
AECHO @196:32
AECHO "To produce color message prompts use this format."
AECHO "AMSG +window wndtxt screen screen-ascii [switch] [messages..]"
AECHO @196:32
AECHO "Three color attributes are needed between the program name"
AECHO "and the screen ascii code. Notice the + sign denoting color."
AECHO @196:32
AECHO "Color Attributes are constructed for the display window and"
AECHO "the background screen. The window text uses the window color"
AECHO "for its background so entering a foreground attribute is all"
AECHO "that's necessary."
AECHO @196:32
AECHO "Color attributes are constructed by adding background and"
AECHO "foreground colors. For a blue window bordered in bright white"
AECHO "you would add 16 + 15 = 31."
AECHO @196:32
AECHO "16 = Blue Background 15 = White Foreground"
AECHO @196:32
AECHO "AMSG +31 15 113 15 @34An example color message@34"
AECHO "produces a blue window bordered in white, with white message text."
AECHO "The screen has a white background with blue text, and ascii code"
AECHO "15 is used for the wallpapering. Here it is on the screen."
AECHO @196:32
AMSCROLL /pauz +27 27 A
REM PAGE 20
AMSG +31 15 113 Example "An example color message"
REM PAGE 21
AMSG /c
AMSCROLL /pauz +27 27 A
REM PAGE 22
ACLS /blko +79
AECHO @205:75
AECHO "Amsg also has options to take user input and store them in the"
AECHO "Environment, or return integer values as Error level codes."
AECHO @196:32
AECHO "Batch file users are allowed to enter up to 64 characters."
AECHO "Entered character strings are stored in the Environment,"
AECHO "and assigned to a variable called INPUT."
AECHO @196:32
AECHO "To do this use the /npt option."
AECHO "Typing ... AMSG +110 0 116 @34INPUT=@34 /npt "Enter a string into the Environment"
AECHO "will display a Brown input window bordered with yellow text"
AECHO "on a white screen with red text."
AECHO "96 + 14 = 110 Brown background and yellow text"
AECHO "0 = Black text."
AECHO "112 + 4 = 116 White background and red text."
AECHO @196:32
AECHO
AMSCROLL /pauz +96 27 A
REM PAGE 23
AMSG +110 0 116 "INPUT=" /npt "Enter a string into the Environment"
REM PAGE 24
ACLS +7
AECHO @205:75
AECHO "Here's a look at the environment after the input."
AECHO @196:32
AECHO
AECHO
SET
AMSCROLL /pauz +112 27 A
REM PAGE 25
ACLS +116 /tnl
AECHO @205:75
AECHO "You can obtain user input in the form of an integer"
AECHO "by using the /erl option switch."
AECHO "Inputs are returned within the error level range (0-255)"
AECHO "Users entering values below zero will have values returned"
AECHO "as zero. Values entered equal to or above 255 will be returned as 255."
AECHO "The program limits input to three digits or less."
AECHO @196:32
AECHO "Typing... AMSG +110 0 116 Integers /erl @34Input a an integer value@34"
AECHO "Produces an input screen similiar to the one just seen"
AECHO @196:32
AECHO
AMSCROLL /pauz +64 27 A
REM PAGE 26
AMSG +110 0 116 Integers /erl "Input an integer value"
REM PAGE 27
ACLS +7
AECHO @205:75
AECHO "HOW TO USE ABATMENU"
AECHO @196:32
AECHO "To generate a Black and White Menu, pass these arguments..."
AECHO @196:32
AECHO "ABATMENU screen-ascii Menu-Title Selection-Names..."
AECHO @196:32
AECHO "SCRN-ASCII = Ascii code, or number for the screen background."
AECHO "MENU-TITLE = Word or text you enter for the menu title."
AECHO "SELECTION-NAMES = The menu selections you wish to offer."
AECHO @196:32
AECHO "Abatmenu returns an errorlevel code to the batch file, with each"
AECHO "code corresponding to the item selected. Arrow keys move hi-lite,"
AECHO "Enter key selects, and the ESC key exits returning a ZERO."
AECHO @196:32
AECHO "Typing ...."
AECHO "ABATMENU 177 @34 B&W MENU @34 Select1 Select2 Select3 Exit"
AECHO "on the command line or in a batch file"
AECHO "produces the following menu."
AECHO @196:32
AMSCROLL /pauz +7 27 A
REM PAGE 28
:EXMPL
abatmenu 177 " B&W MENU " Select1 Select2 Select3 Exit
IF ERRORLEVEL 4 GOTO XEND
IF ERRORLEVEL 3 GOTO THREE
IF ERRORLEVEL 2 GOTO TWO
IF ERRORLEVEL 1 GOTO ONE
IF ERRORLEVEL 0 GOTO ESCKEY
GOTO EXMPL
:ONE
AECHO @205:75
AECHO "You Chose Selection 1"
AECHO "Abatmenu Returned Errorlevel Code 1"
GOTO BTEND
:TWO
AECHO @205:75
AECHO "You Chose Selection 2"
AECHO "Abatmenu Returned Errorlevel Code 2"
GOTO BTEND
:THREE
AECHO @205:75
AECHO "You Chose Selection 3"
AECHO "Abatmenu Returned Errorlevel Code 3"
GOTO BTEND
:XEND
AECHO @205:75
AECHO "You Chose Selection Exit"
AECHO "Abatmenu Returned Errorlevel Code 4"
GOTO BTEND
:ESCKEY
AECHO @205:75
AECHO "You Pressed the ESC key"
AECHO "Abatmenu Returned Errorlevel Code 0"
:BTEND
REM PAGE 29
AECHO @205:75
AECHO "You can set up your batch file to use the Errorlevel Code"
AECHO "Abatmenu returns by using the ....."
AECHO "IF ERRORLEVEL (code#) GOTO (a label)"
AECHO "statement to perform actions associated with the Selection."
AECHO @196:32
AECHO "The manual contains an example of this in the Batch File Section."
AECHO
AECHO @205:75
AECHO "To produce color menus ABATMENU needs four color attributes."
AECHO "One each for the menu, menu text, hi-lite bar, and background screen."
AECHO @196:32
AECHO "The format is similar to AMSG except that four attributes are used."
AECHO @196:32
AECHO "ABATMENU +31 15 116 113 15 @34* Menu *@34 Select1 Select2 Select3 Exit"
AECHO @196:32
AECHO "The above will generate a simple color menu with 4 selections."
AECHO @196:32
AMSCROLL /pauz +112 27 A
REM PAGE 30
ABATMENU +31 15 116 113 15 Menu Select1 Select2 Select3 Exit
REM PAGE 31
ACLS +11
AECHO @205:75
AECHO "HOW TO USE AECHO"
AECHO @196:32
AECHO "Aecho is a replacement program for the DOS echo and more commands."
AECHO "All the text you're viewing has been displayed with the Aecho program."
AECHO "You can use the Aecho command with default values to display text"
AECHO "that is automatically centered and displayed with a default attribute"
AECHO "taken from screen location 0,0."
AECHO "Aecho will display a blank line when entering the program name alone"
AECHO "on the command line, or a color line with an attribute."
AECHO "You can speed up Aecho's operation by enclosing text in quotation marks."
AECHO @196:32
AECHO "There are three options to allow text positioning."
AECHO "To display text starting at column 0 use /L."
AECHO "To display text so that it is right justified at column 79 /R."
AECHO "To display text at a Column number from (0-79) use /s[col#]."
AECHO " Example: Aecho /s35 @34Text starts at column 35@34"
AECHO @196:32
AECHO "Color attributes options may be specified and entered without regard"
AECHO "to order as long as they are entered before the display text."
AECHO @196:32
AECHO
AMSCROLL /PAUZ +16 27 L
ACLS +11
REM PAGE 32
AECHO @205:75
AECHO "Aecho also offers a /pz switch which will put the Press Any Key Prompt"
AECHO "on the screen that you just saw."
AECHO @196:32
AECHO "You may also store display text in an Ascii File."
AECHO "This not only allows for quicker operation, but also lends some extra"
AECHO "convienience and flexibility to the use of an echo command."
AECHO "The /t option is followed by a text file name with a full path"
AECHO "if necessary. The path may contain a drive name if a disk is loaded."
AECHO "Example: Aecho /t @34C:\mytext.txt@34"
AECHO @196:32
AECHO "Here's an example file that contains instructions"
AMSCROLL /pauz +112 27 A
REM PAGE 33
AECHO +7 /t echotxt.txt
ACLS +95 /blko
REM PAGE 34
AECHO @205:75
AECHO "HOW TO USE AMSCROLL"
AECHO @196:32
AECHO "Amscroll displays moving text messages on your video screen."
AECHO "There are several different effects available."
AECHO "The text that you enter can be made to move across the screen"
AECHO "from left to right, right to left, or alternating between the two."
AECHO @196:32
AECHO "Text can also be made to scroll around the perimeter of the screen,"
AECHO "or with a rolling horizontal bar."
AECHO "There is also a pause option that has been seen in use throughout this"
AECHO "batch file. This option automatically displays a text message, so it's"
AECHO "not necessary to enter any text when using it."
AECHO @196:32
AECHO "The format for using Amscroll is:"
AECHO "Amscroll (Attribute) Option Speed Direction @34Display Text@34"
AECHO "The color attribute is discretionary and may be entered before or"
AECHO "after the option."
AECHO @196:32
AECHO "Here's a look at the help screen so you can view the options"
AECHO "followed by a few demonstrations."
AECHO @196:32
AECHO
AMSCROLL /pauz +80 27 A
REM PAGE 35
AMSCROLL
AMSCROLL /pauz +112 27 A
REM PAGE 36
ACLS +11
AECHO
AECHO
AECHO
AECHO @205:75
AECHO "This is my favorite option, it can turn the video screen into a"
AECHO "hi - lighted message billboard."
AECHO @196:32
AECHO "The asterik gives the appearance of moving lights."
AECHO @196:32
AMSCROLL /PERI +79 27 R *
ACLS /OUT +11
REM PAGE 37
AECHO
AECHO
AECHO
AECHO @205:75
AECHO "The /roll option provides moving text on a horizontally rolling bar."
AECHO "The direction switch operates differently with this option since"
AECHO "the bar moves up and down. Use the L option for movement from"
AECHO "top to bottom. The R option reverses this movement and the"
AECHO "A option alternates between the two."
AMSCROLL /roll +79 27 A "Rolling text message"
REM PAGE 38
ACLS +11
AECHO
AECHO
AECHO
AECHO @205:75
AECHO "You can also display vertically moving text with the /col or"
AECHO "/lr options. This is the /lr option. The direction switches"
AECHO "operate in a manner similar to the /roll option except the"
AECHO "A switch which provides the effect shown."
AMSCROLL /lr +79 27 A "LEFT RIGHT"
ACLS /BLKO +117
REM PAGE 39
ACLS +47 /in
AECHO @205:75
AECHO "HOW TO USE ABATINFO"
AECHO @196:32
AECHO "Abatinfo can provide your batch files some useful information."
AECHO "Most of the information provided is in the form of error level codes."
AECHO "You can get a variety of different dates for time activated batch files,"
AECHO "test for Caps Lock, Scroll Lock, and Number Lock key conditions,"
AECHO "find out if your in the root directory on the current disk,"
AECHO "and a whole range of other system information."
AECHO @196:32
AECHO "Some information is supplied through the system environment."
AECHO "There are two Environmental variables that this information is"
AECHO "assigned to, DIR= and INFO=."
AECHO "The DIR variable is only used to store the current path."
AECHO "All other information is stored under the INFO variable."
AECHO "These two variables will be demonstrated in this tutorial."
AECHO @196:32
AECHO "Here's a look at the Abatinfo Quick help screen,"
AECHO "followed by a small demonstration of some of the options."
AECHO @196:32
AMSCROLL /pauz +36 27 A
ABATINFO
AMSCROLL /pauz +112 27 A
ACLS +11
AECHO @205:75
AECHO "Here's a demo of the /cpsl option to check the state of the"
AECHO "Caps Lock."
AECHO @205:75
ABATINFO /cpsl
IF ERRORLEVEL 1 GOTO CPON
IF ERRORLEVEL 0 GOTO CPOFF
:CPON
AECHO
AECHO "Your caps lock is on."
AECHO @196:32
GOTO TSTBRK
:CPOFF
AECHO
AECHO "Your caps lock is off."
AECHO @196:32
:TSTBRK
AECHO
AECHO @205:75
AECHO "A test to see if break was set at boot up."
AECHO @205:75
ABATINFO /brk
IF ERRORLEVEL 1 GOTO BRKON
IF ERRORLEVEL 0 GOTO BRKOFF
:BRKON
AECHO
AECHO "Break is on."
AECHO @196:32
GOTO DIRDEMO
:BRKOFF
AECHO
AECHO "Break is off."
AECHO @196:32
:DIRDEMO
AECHO
AECHO @205:75
AECHO "The /rtd option checks to see if were currently in the root directory."
AECHO @205:75
ABATINFO /rtd
IF ERRORLEVEL 1 GOTO INRTD
IF ERRORLEVEL 0 GOTO NOTRT
:INRTD
AECHO
AECHO "You are currently in the root directory on this disk."
AECHO @196:32
GOT0 DOENV
:NOTRT
AECHO
AECHO "You're not in the root directory."
AECHO @196:32
AECHO
:DOENV
AMSCROLL /pauz +31 27 A
ACLS +11 /wr
AECHO @205:75
AECHO "You can find out the number of free disk bytes by using"
AECHO "the /fdb Option."
AECHO @196:32
ABATINFO /drv
IF ERRORLEVEL 4 GOTO DSKFOR
IF ERRORLEVEL 3 GOTO DSKTHREE
IF ERRORLEVEL 2 GOTO DSKTWO
IF ERRORLEVEL 1 GOTO DSKONE
IF ERRORLEVEL 0 GOTO DEFERR
:DSKFOR
AECHO
ABATINFO /fdb D
AECHO "Available bytes on this disk:" %INFO%
AECHO
GOTO DEFERR
:DSKTHREE
AECHO
ABATINFO /fdb C
AECHO "Available bytes on this disk:" %INFO%
AECHO
GOTO DEFERR
:DSKTWO
AECHO
ABATINFO /fdb B
AECHO "Available bytes on this disk:" %INFO%
AECHO
GOTO DEFERR
:DSKONE
AECHO
ABATINFO /fdb A
AECHO "Available bytes on this disk:" %INFO%
AECHO
AECHO @196:32
AECHO
:DEFERR
AECHO @205:75
AECHO "The current path can be saved by using the /pth Option."
AECHO @205:75
ABATINFO /pth
AECHO
AECHO "Here's the path:" %DIR%
AECHO
AECHO @205:75
AMSCROLL /pauz +31 27 A
ACLS +31 /in
AECHO @205:75
AECHO "HOW TO USE ABATJOB"
AECHO @196:32
AECHO "Abatjob is a catch all program for several miscellaneous functions."
AECHO "You can use it to control several different aspects of the display screen."
AECHO "A variety of different functions allow you to Draw different items,"
AECHO "change or invert screen color, blink or write text,"
AECHO "set up loop counter in the environment,"
AECHO "and other useful items."
AECHO @196:32
AECHO "Here's the Quick help screen for Abatjob."
AECHO @196:32
AMSCROLL /pauz +27 27 A
ABATJOB
AMSCROLL /pauz +112 27 A
ACLS +48
AECHO @205:75
AECHO "Here's a couple of examples of the drawing functions."
AECHO "A double bordered box at location 5, 30, 15, 50,"
AECHO "and a horizontal line at row 20, column 5, of length 30."
ABATJOB /sbox +27 DD 5 30 15 50
ABATJOB /line +31 H 20 5 30
AMSCROLL /pauz +11 27 A
ACLS +11
AECHO @205:75
AECHO "Abatjob allows you to set up a loop variable in the environment."
AECHO "To do this use the /cntr option followed by a number to set the counter."
AECHO "The Environment contains a variable named COUNTER to store this."
AECHO @196:32
AECHO "Here's the Environment with the variable set to 50."
AECHO @196:32
AECHO
ABATJOB /cntr 50
SET
AMSCROLL /pauz +31 27 A
ACLS +31 /blko
AECHO @205:75
AECHO "You can Increment and Decrement the this variable by one, using the"
AECHO "/inc and /dec options. These options don't take any arguments"
AECHO "and will not set the counter to a negative number."
AECHO @196:32
AECHO "Here's the Environment after using the /inc option."
ABATJOB /inc
AECHO
SET
AMSCROLL /pauz +27 27 A
ACLS /BLKO +117
AECHO "There are a lot of functions that weren't covered in this tutorial"
AECHO "because of space and time limitations. Hopefully, you'll explore"
AECHO "the different programs to find the functions you find useful."
AECHO @196:32
AECHO "AVIEWDOC.BAT allows you to view the software documents."
AECHO @196:32
AECHO "APRNTDOC.BAT allows you to print the software documents."
AECHO
AECHO @196:32
AECHO "ABATMENU and AMSG also allow you to use Ascii Text Files"
AECHO "to store multiple program option sets for complex batch files."
AECHO
AECHO @232:55
AECHO +113 "ATXTFILE.BAT shows the use of text files for options."
AECHO @232:55
AECHO
AECHO @232:55
AECHO +113 "AEXMPLES.BAT shows several color menus and messages."
AECHO @232:55
AECHO
AECHO "Good Luck!"
AECHO
AMSCROLL /pauz +81 27 A
REM END OF TUTORIAL
ACLS /hz +7
:TUTEND