Home » CEEFAX disks » telesoftware8.adl » 22-07-88/HELP/BAT

22-07-88/HELP/BAT

This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.

Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.

Tape/disk: Home » CEEFAX disks » telesoftware8.adl
Filename: 22-07-88/HELP/BAT
Read OK:
File size: 2700 bytes
Load address: 0000
Exec address: 0000
File contents
ECHO OFF
REM
REM HELP FOR MS-DOS USERS
REM
IF "%1"=="" GOTO FIN
ECHO The format for the "%1" command is :
ECHO .
GOTO  %1
:FIN
ECHO OFF
ECHO THE FORMAT TO USE IN HELP IS:
ECHO OFF
ECHO HELP command
ECHO OFF
GOTO END
:APPEND
ECHO APPEND [d:]\path[;[d:]\path..]
GOTO END
:ASSIGN
ECHO ASSIGN requested-drive=searched-drive
GOTO END
:MORE
ECHO MORE
GOTO END
:CHDIR
ECHO CHDIR [d:][\]path
GOTO END
:CLS
ECHO CLS
GOTO END
:DIR
ECHO DIR [d:][\][path\][filename.filetype][/P][/W]
ECHO .
ECHO OPTIONS
ECHO -------_
ECHO /P  The display pauses after every screenful of information. Press a
ECHO     character key to see the next screenful .
ECHO .
ECHO /W  Just the filenames and filetypes, with 5 files on each line.
GOTO END
:BREAK
ECHO BREAK ON or BREAK OFF
GOTO END
:FIND
ECHO FIND [/V][/C][/N] "string" [d:][\][path\]filename.filetype
ECHO .
ECHO OPTIONS
ECHO -------
ECHO /V  Display all lines except those containing the specified string.
ECHO /C  Display the number of lines in which the string was found.
ECHO /N  Number of lines according to their position in the file.
GOTO END
:GRAPHICS
ECHO GRAPHICS printer-type[/R][/B]
ECHO .
ECHO PRINTER TYPES
ECHO -------------
ECHO COLOR1     IBM PC Color Printer (or compatible) with a black ribbon.
ECHO COLOR4     IBM PC Color Printer (or compatible) with an RGB (Red, Green,
ECHO            Blue) ribbon.
ECHO COLOR8     IBM PC Color Printer (or compatible) with a CMY (Cyan,Magenta,
ECHO            Yellow and Black) ribbon.
ECHO COMPACT    IBM PC Compact Printer (or compatible).
ECHO GRAPHICS   IBM PC Graphics Printer (or compatible, e.g AMSTRAD DMP3000).
ECHO COLORJET   IBM Colorjet Printer (or compatible).
ECHO .
ECHO OPTIONS
ECHO -------
ECHO /R  Print foreground light, background dark as seen on the monitor.
ECHO     If this option is not selected, then the foreground is printed
ECHO     dark and the background light.
ECHO /B  Print the background colour. If this option is not selected the
ECHO     background colour is not printed. (PRINTER TYPES COLOR4 & 8 ONLY).
ECHO /F  Turn the screen dump round through 90 Degrees.
ECHO /C  Centre the screen dump on the page.
GOTO END
:JOIN
ECHO JOIN d: [d:][\]path
GOTO END
:PATH
ECHO PATH [d:]\path[;[d:]\path...]
GOTO END
:SET
ECHO SET parameter=string
GOTO END
:SORT
ECHO SORT [/R][/+n]  [d:][\][path\]filename.filetype] [ destination]
ECHO .
ECHO OPTIONS
ECHO -------
ECHO /R   Reverse the sort, ie. sort from 9 to A.
ECHO /+N  Sort at Column N.
GOTO END
:SUBST
ECHO SUBST d: [d:][\]path
GOTO END
:VER
ECHO VER
GOTO END
:VERIFY
ECHO VERIFY ON or VERIFY OFF
GOTO END
:ATTRIB
ECHO ATTRIB [+R or -R] [+A or -A] [d:][\][path\]filename.filetype
ECHO .
ECHO OPTIONS
ECHO -------
ECHO +R   Make the file Read-Only.
ECHO -R   Make the file Read-Write again.
ECHO +A   Force the file to be backed-up even if it has not been changed.
ECHO -A   Stop the file from being backed-up even though it has been changed.
GOTO END
:COMP
ECHO COMP [option[option...]] [d:][\][path\]filename.filetype [d:][\][path\]
ECHO      filename.filetype
ECHO .
ECHO OPTIONS
ECHO -------
ECHO /A     To indicate where the difference is just display the last line of
ECHO        the previous matching section and the first line of the following
ECHO        matching section - not all the lines in between. (The lines in
ECHO        between are represented by ...).
ECHO /C     Treat all letters as upper case in the comparison.
ECHO /L     Force a line by line comparison. (Used when the filetype of either
ECHO        file is EXE, COM, SYS, OBJ, LIB or BIN.
ECHO /LBn   Set the buffer size to n lines. (The default is 100 lines; the
ECHO        maximum depends on the amount of memory space your PC has.)
ECHO /N     Add line numbers when reporting where the differences are.
ECHO /T     Don't expand tab characters to spaces. (The default is to interpret
ECHO        each tab character as spaces up to he start of the next 8 character
ECHO        column.
ECHO /W     Interpret all tabs and multiple spaces as single spaces; ignore
ECHO        spaces at the beginning and end of any line.
ECHO /n     Set the number of identical lines required before the comparison
ECHO        resynchronises to n. (The default is 2 lines).
GOTO END
:COPY
ECHO COPY [d:][\][path\]source[/A][/B] [d:][\][path\]destination[/A][/B][/V]
ECHO .
ECHO OPTIONS
ECHO -------
ECHO SOURCE
ECHO ------
ECHO /A  The file is treated as an ASCII text file. The contents are copied up
ECHO     to, but not including, the first Ctrl-Z (end of file) character. The
ECHO     remaining characters are not copied.
ECHO /B  The entire file is copied, regardless of any Ctrl-Z (end of file)
ECHO     character found in the file.
ECHO DESTINATION
ECHO -----------
ECHO /A  The file is treated as an ASCII text file. A Ctrl-Z (end of file)
ECHO     character is added to the end of the file.
ECHO /B  No Ctrl-Z (end of file) character is added to the end of the file.
ECHO /V  The destination file is compared with the source file to verify the
ECHO     accuracy of the copy.
GOTO END
:DEL
ECHO DEL [d:][\][path\]filename.filetype
GOTO END
:ERASE
ECHO ERASE [d:][\][path\]filename.filetype
GOTO END
:MKDIR
ECHO MKDIR [d:][\]path
GOTO END
:CHKDSK
ECHO CHKDSK d:[\][path\][filename.filetype][/F][/N]
ECHO .
ECHO OPTIONS
ECHO -------
ECHO /F   Fix errors as the disk is processed.
ECHO /N   Display messages as the disk is processed.
GOTO END
:DISKCOMP
ECHO DISKCOMP source-drive: target-drive:[/1][/8]
ECHO .
ECHO OPTIONS
ECHO -------
ECHO /1   Compare just the first side of the disks.
ECHO /8   Compare just the first eight sectors of each track.
GOTO END
:DISKCOPY
ECHO DISKCOPY source-drive: target-drive:
GOTO END
:CTTY
ECHO CTTY device
GOTO END
:DATE
ECHO DATE [dd-mm-yy]
GOTO END
:EDLIN
ECHO EDLIN [d:][\][path\]filename.filetype[/B]
ECHO .
ECHO OPTIONS
ECHO -------
ECHO /B   Don't interpret Ctrl-Z characters as end of file.
GOTO END
:FORMAT
ECHO FORMAT d:[option[option...]]
ECHO .
ECHO OPTIONS
ECHO -------
ECHO /1    Format a single sided disk.
ECHO /8    Format with 8 usable sectors per track.
ECHO /B    Reserve space for hidden system files.
ECHO /N:n  Format with n sectors per track (n=8,9)
ECHO /T:t  Format with t tracks (t=40,80)
ECHO /V    Prompt for a disk label after the format has been completed (the
ECHO       label which is shown on the screen every time you use the DIR
ECHO       command to display the contents of the disk - can be up to 11
ECHO       characters long.
ECHO /S    Format and prepare for use as a startup disk by copying the
ECHO       system files from the default drive to the newly formatted disk.
GOTO END
:KEYBUK
ECHO KEYBUK
GOTO END
:LABEL
ECHO LABEL [d:] label
GOTO END
:MODE
ECHO MODE device:setting[,setting...]
GOTO END
:RENAME
ECHO RENAME [d:][\][path\]old-name new-name
GOTO END
:RMDIR
ECHO RMDIR [d:][\]path
GOTO END
:SHIFT
ECHO SHIFT
GOTO END
:SYS
ECHO SYS d:
GOTO END
:TIME
ECHO TIME [hh:mm]
GOTO END
:TREE
ECHO TREE [d:][\F]
ECHO .
ECHO If the option /F is used, the names of the files in each directory are
ECHO also listed.
GOTO END
:TYPE
ECHO TYPE [d:][\][path\]filename.filetype
GOTO END
:VOL
ECHO VOL d:
GOTO END
:PROMPT
ECHO PROMPT prompt-text
ECHO where [prompt-text] is: letter:$character[letter:$character...]
ECHO .
ECHO Table of $character commands
ECHO $T   Time.
ECHO $d   Date.
ECHO $n   The drive letter of the default drive.
ECHO $p   The current directory on the default drive.
ECHO $v   The MS-DOS version number.
ECHO $$   A $ character.
ECHO $g   A ">" character.
ECHO $l   A "<" character.
ECHO $b   A : character.
ECHO $q   A = character.
ECHO $h   A Backspace character.
ECHO $e   An ESCape character.
ECHO $_   A new line.
GOTO END
:XCOPY
ECHO XCOPY [d:][\][path\]source[d:][\][path\]destination [option[option...]]
ECHO .
ECHO OPTIONS
ECHO -------
ECHO /A          Only copy files that have the Archive attribute set.
ECHO /D:dd-mm-yy Only copy files that have been changed on or after the given
ECHO             date.
ECHO /E          Copy entry subdirectories as well as ones with files in them.
ECHO /M          Only copy files that have the Archive attribute set.
ECHO /P          Confirm each copy.
ECHO /S          Copy files from both the given directory and from its subdi-
ECHO             rectories.
ECHO /V          Verify each copy as it is written, to check that the new file
ECHO             is identical to the original.
ECHO /W          Wait until a key is pressed before starting the copy.
GOTO END
:REPLACE
ECHO REPLACE source-drive:[\][path\]filename.filetype target-drive:[\][path][
ECHO                                                      option[option...]]
ECHO .
ECHO OPTIONS
ECHO -------
ECHO /A   Add new files to the target directory.
ECHO /D   Replace only if the source file is more recent.
ECHO /P   Prompt for confirmation before replacing a target file or adding a
ECHO      new source file.
ECHO /R   Search both the given target directory and its subdirectories for
ECHO      old versions of the files.
ECHO /S   Replace both read-write and read-only files.
ECHO /w   Wait for a key to be pressed before starting replacing and adding
ECHO      files.
GOTO END
:PRINT
ECHO PRINT [d:][\][path\]filename.filetype[[d:][\][path\]filename.filetype...]
ECHO                                                              [\P][\C][\T]
ECHO .
ECHO OPTIONS
ECHO -------
ECHO /C   Remove this and following files (up to the next file listed with the
ECHO      P option) from the list of files waiting to be printed.
ECHO /P   Add this and following files (up to the next file listed with the /C
ECHO      option) to the list of files waiting to be printed.
ECHO /T   Stop the current file from being printed.
GOTO END
:END
EXIT
00000000  45 43 48 4f 20 4f 46 46  0d 0a 52 45 4d 0d 0a 52  |ECHO OFF..REM..R|
00000010  45 4d 20 48 45 4c 50 20  46 4f 52 20 4d 53 2d 44  |EM HELP FOR MS-D|
00000020  4f 53 20 55 53 45 52 53  0d 0a 52 45 4d 0d 0a 49  |OS USERS..REM..I|
00000030  46 20 22 25 31 22 3d 3d  22 22 20 47 4f 54 4f 20  |F "%1"=="" GOTO |
00000040  46 49 4e 0d 0a 45 43 48  4f 20 54 68 65 20 66 6f  |FIN..ECHO The fo|
00000050  72 6d 61 74 20 66 6f 72  20 74 68 65 20 22 25 31  |rmat for the "%1|
00000060  22 20 63 6f 6d 6d 61 6e  64 20 69 73 20 3a 0d 0a  |" command is :..|
00000070  45 43 48 4f 20 2e 0d 0a  47 4f 54 4f 20 20 25 31  |ECHO ...GOTO  %1|
00000080  0d 0a 3a 46 49 4e 0d 0a  45 43 48 4f 20 4f 46 46  |..:FIN..ECHO OFF|
00000090  0d 0a 45 43 48 4f 20 54  48 45 20 46 4f 52 4d 41  |..ECHO THE FORMA|
000000a0  54 20 54 4f 20 55 53 45  20 49 4e 20 48 45 4c 50  |T TO USE IN HELP|
000000b0  20 49 53 3a 0d 0a 45 43  48 4f 20 4f 46 46 0d 0a  | IS:..ECHO OFF..|
000000c0  45 43 48 4f 20 48 45 4c  50 20 63 6f 6d 6d 61 6e  |ECHO HELP comman|
000000d0  64 0d 0a 45 43 48 4f 20  4f 46 46 0d 0a 47 4f 54  |d..ECHO OFF..GOT|
000000e0  4f 20 45 4e 44 0d 0a 3a  41 50 50 45 4e 44 0d 0a  |O END..:APPEND..|
000000f0  45 43 48 4f 20 41 50 50  45 4e 44 20 5b 64 3a 5d  |ECHO APPEND [d:]|
00000100  5c 70 61 74 68 5b 3b 5b  64 3a 5d 5c 70 61 74 68  |\path[;[d:]\path|
00000110  2e 2e 5d 0d 0a 47 4f 54  4f 20 45 4e 44 0d 0a 3a  |..]..GOTO END..:|
00000120  41 53 53 49 47 4e 0d 0a  45 43 48 4f 20 41 53 53  |ASSIGN..ECHO ASS|
00000130  49 47 4e 20 72 65 71 75  65 73 74 65 64 2d 64 72  |IGN requested-dr|
00000140  69 76 65 3d 73 65 61 72  63 68 65 64 2d 64 72 69  |ive=searched-dri|
00000150  76 65 0d 0a 47 4f 54 4f  20 45 4e 44 0d 0a 3a 4d  |ve..GOTO END..:M|
00000160  4f 52 45 0d 0a 45 43 48  4f 20 4d 4f 52 45 0d 0a  |ORE..ECHO MORE..|
00000170  47 4f 54 4f 20 45 4e 44  0d 0a 3a 43 48 44 49 52  |GOTO END..:CHDIR|
00000180  0d 0a 45 43 48 4f 20 43  48 44 49 52 20 5b 64 3a  |..ECHO CHDIR [d:|
00000190  5d 5b 5c 5d 70 61 74 68  0d 0a 47 4f 54 4f 20 45  |][\]path..GOTO E|
000001a0  4e 44 0d 0a 3a 43 4c 53  0d 0a 45 43 48 4f 20 43  |ND..:CLS..ECHO C|
000001b0  4c 53 0d 0a 47 4f 54 4f  20 45 4e 44 0d 0a 3a 44  |LS..GOTO END..:D|
000001c0  49 52 0d 0a 45 43 48 4f  20 44 49 52 20 5b 64 3a  |IR..ECHO DIR [d:|
000001d0  5d 5b 5c 5d 5b 70 61 74  68 5c 5d 5b 66 69 6c 65  |][\][path\][file|
000001e0  6e 61 6d 65 2e 66 69 6c  65 74 79 70 65 5d 5b 2f  |name.filetype][/|
000001f0  50 5d 5b 2f 57 5d 0d 0a  45 43 48 4f 20 2e 0d 0a  |P][/W]..ECHO ...|
00000200  45 43 48 4f 20 4f 50 54  49 4f 4e 53 0d 0a 45 43  |ECHO OPTIONS..EC|
00000210  48 4f 20 2d 2d 2d 2d 2d  2d 2d 5f 0d 0a 45 43 48  |HO -------_..ECH|
00000220  4f 20 2f 50 20 20 54 68  65 20 64 69 73 70 6c 61  |O /P  The displa|
00000230  79 20 70 61 75 73 65 73  20 61 66 74 65 72 20 65  |y pauses after e|
00000240  76 65 72 79 20 73 63 72  65 65 6e 66 75 6c 20 6f  |very screenful o|
00000250  66 20 69 6e 66 6f 72 6d  61 74 69 6f 6e 2e 20 50  |f information. P|
00000260  72 65 73 73 20 61 0d 0a  45 43 48 4f 20 20 20 20  |ress a..ECHO    |
00000270  20 63 68 61 72 61 63 74  65 72 20 6b 65 79 20 74  | character key t|
00000280  6f 20 73 65 65 20 74 68  65 20 6e 65 78 74 20 73  |o see the next s|
00000290  63 72 65 65 6e 66 75 6c  20 2e 0d 0a 45 43 48 4f  |creenful ...ECHO|
000002a0  20 2e 0d 0a 45 43 48 4f  20 2f 57 20 20 4a 75 73  | ...ECHO /W  Jus|
000002b0  74 20 74 68 65 20 66 69  6c 65 6e 61 6d 65 73 20  |t the filenames |
000002c0  61 6e 64 20 66 69 6c 65  74 79 70 65 73 2c 20 77  |and filetypes, w|
000002d0  69 74 68 20 35 20 66 69  6c 65 73 20 6f 6e 20 65  |ith 5 files on e|
000002e0  61 63 68 20 6c 69 6e 65  2e 0d 0a 47 4f 54 4f 20  |ach line...GOTO |
000002f0  45 4e 44 0d 0a 3a 42 52  45 41 4b 0d 0a 45 43 48  |END..:BREAK..ECH|
00000300  4f 20 42 52 45 41 4b 20  4f 4e 20 6f 72 20 42 52  |O BREAK ON or BR|
00000310  45 41 4b 20 4f 46 46 0d  0a 47 4f 54 4f 20 45 4e  |EAK OFF..GOTO EN|
00000320  44 0d 0a 3a 46 49 4e 44  0d 0a 45 43 48 4f 20 46  |D..:FIND..ECHO F|
00000330  49 4e 44 20 5b 2f 56 5d  5b 2f 43 5d 5b 2f 4e 5d  |IND [/V][/C][/N]|
00000340  20 22 73 74 72 69 6e 67  22 20 5b 64 3a 5d 5b 5c  | "string" [d:][\|
00000350  5d 5b 70 61 74 68 5c 5d  66 69 6c 65 6e 61 6d 65  |][path\]filename|
00000360  2e 66 69 6c 65 74 79 70  65 0d 0a 45 43 48 4f 20  |.filetype..ECHO |
00000370  2e 0d 0a 45 43 48 4f 20  4f 50 54 49 4f 4e 53 0d  |...ECHO OPTIONS.|
00000380  0a 45 43 48 4f 20 2d 2d  2d 2d 2d 2d 2d 0d 0a 45  |.ECHO -------..E|
00000390  43 48 4f 20 2f 56 20 20  44 69 73 70 6c 61 79 20  |CHO /V  Display |
000003a0  61 6c 6c 20 6c 69 6e 65  73 20 65 78 63 65 70 74  |all lines except|
000003b0  20 74 68 6f 73 65 20 63  6f 6e 74 61 69 6e 69 6e  | those containin|
000003c0  67 20 74 68 65 20 73 70  65 63 69 66 69 65 64 20  |g the specified |
000003d0  73 74 72 69 6e 67 2e 0d  0a 45 43 48 4f 20 2f 43  |string...ECHO /C|
000003e0  20 20 44 69 73 70 6c 61  79 20 74 68 65 20 6e 75  |  Display the nu|
000003f0  6d 62 65 72 20 6f 66 20  6c 69 6e 65 73 20 69 6e  |mber of lines in|
00000400  20 77 68 69 63 68 20 74  68 65 20 73 74 72 69 6e  | which the strin|
00000410  67 20 77 61 73 20 66 6f  75 6e 64 2e 0d 0a 45 43  |g was found...EC|
00000420  48 4f 20 2f 4e 20 20 4e  75 6d 62 65 72 20 6f 66  |HO /N  Number of|
00000430  20 6c 69 6e 65 73 20 61  63 63 6f 72 64 69 6e 67  | lines according|
00000440  20 74 6f 20 74 68 65 69  72 20 70 6f 73 69 74 69  | to their positi|
00000450  6f 6e 20 69 6e 20 74 68  65 20 66 69 6c 65 2e 0d  |on in the file..|
00000460  0a 47 4f 54 4f 20 45 4e  44 0d 0a 3a 47 52 41 50  |.GOTO END..:GRAP|
00000470  48 49 43 53 0d 0a 45 43  48 4f 20 47 52 41 50 48  |HICS..ECHO GRAPH|
00000480  49 43 53 20 70 72 69 6e  74 65 72 2d 74 79 70 65  |ICS printer-type|
00000490  5b 2f 52 5d 5b 2f 42 5d  0d 0a 45 43 48 4f 20 2e  |[/R][/B]..ECHO .|
000004a0  0d 0a 45 43 48 4f 20 50  52 49 4e 54 45 52 20 54  |..ECHO PRINTER T|
000004b0  59 50 45 53 0d 0a 45 43  48 4f 20 2d 2d 2d 2d 2d  |YPES..ECHO -----|
000004c0  2d 2d 2d 2d 2d 2d 2d 2d  0d 0a 45 43 48 4f 20 43  |--------..ECHO C|
000004d0  4f 4c 4f 52 31 20 20 20  20 20 49 42 4d 20 50 43  |OLOR1     IBM PC|
000004e0  20 43 6f 6c 6f 72 20 50  72 69 6e 74 65 72 20 28  | Color Printer (|
000004f0  6f 72 20 63 6f 6d 70 61  74 69 62 6c 65 29 20 77  |or compatible) w|
00000500  69 74 68 20 61 20 62 6c  61 63 6b 20 72 69 62 62  |ith a black ribb|
00000510  6f 6e 2e 0d 0a 45 43 48  4f 20 43 4f 4c 4f 52 34  |on...ECHO COLOR4|
00000520  20 20 20 20 20 49 42 4d  20 50 43 20 43 6f 6c 6f  |     IBM PC Colo|
00000530  72 20 50 72 69 6e 74 65  72 20 28 6f 72 20 63 6f  |r Printer (or co|
00000540  6d 70 61 74 69 62 6c 65  29 20 77 69 74 68 20 61  |mpatible) with a|
00000550  6e 20 52 47 42 20 28 52  65 64 2c 20 47 72 65 65  |n RGB (Red, Gree|
00000560  6e 2c 0d 0a 45 43 48 4f  20 20 20 20 20 20 20 20  |n,..ECHO        |
00000570  20 20 20 20 42 6c 75 65  29 20 72 69 62 62 6f 6e  |    Blue) ribbon|
00000580  2e 0d 0a 45 43 48 4f 20  43 4f 4c 4f 52 38 20 20  |...ECHO COLOR8  |
00000590  20 20 20 49 42 4d 20 50  43 20 43 6f 6c 6f 72 20  |   IBM PC Color |
000005a0  50 72 69 6e 74 65 72 20  28 6f 72 20 63 6f 6d 70  |Printer (or comp|
000005b0  61 74 69 62 6c 65 29 20  77 69 74 68 20 61 20 43  |atible) with a C|
000005c0  4d 59 20 28 43 79 61 6e  2c 4d 61 67 65 6e 74 61  |MY (Cyan,Magenta|
000005d0  2c 0d 0a 45 43 48 4f 20  20 20 20 20 20 20 20 20  |,..ECHO         |
000005e0  20 20 20 59 65 6c 6c 6f  77 20 61 6e 64 20 42 6c  |   Yellow and Bl|
000005f0  61 63 6b 29 20 72 69 62  62 6f 6e 2e 0d 0a 45 43  |ack) ribbon...EC|
00000600  48 4f 20 43 4f 4d 50 41  43 54 20 20 20 20 49 42  |HO COMPACT    IB|
00000610  4d 20 50 43 20 43 6f 6d  70 61 63 74 20 50 72 69  |M PC Compact Pri|
00000620  6e 74 65 72 20 28 6f 72  20 63 6f 6d 70 61 74 69  |nter (or compati|
00000630  62 6c 65 29 2e 0d 0a 45  43 48 4f 20 47 52 41 50  |ble)...ECHO GRAP|
00000640  48 49 43 53 20 20 20 49  42 4d 20 50 43 20 47 72  |HICS   IBM PC Gr|
00000650  61 70 68 69 63 73 20 50  72 69 6e 74 65 72 20 28  |aphics Printer (|
00000660  6f 72 20 63 6f 6d 70 61  74 69 62 6c 65 2c 20 65  |or compatible, e|
00000670  2e 67 20 41 4d 53 54 52  41 44 20 44 4d 50 33 30  |.g AMSTRAD DMP30|
00000680  30 30 29 2e 0d 0a 45 43  48 4f 20 43 4f 4c 4f 52  |00)...ECHO COLOR|
00000690  4a 45 54 20 20 20 49 42  4d 20 43 6f 6c 6f 72 6a  |JET   IBM Colorj|
000006a0  65 74 20 50 72 69 6e 74  65 72 20 28 6f 72 20 63  |et Printer (or c|
000006b0  6f 6d 70 61 74 69 62 6c  65 29 2e 0d 0a 45 43 48  |ompatible)...ECH|
000006c0  4f 20 2e 0d 0a 45 43 48  4f 20 4f 50 54 49 4f 4e  |O ...ECHO OPTION|
000006d0  53 0d 0a 45 43 48 4f 20  2d 2d 2d 2d 2d 2d 2d 0d  |S..ECHO -------.|
000006e0  0a 45 43 48 4f 20 2f 52  20 20 50 72 69 6e 74 20  |.ECHO /R  Print |
000006f0  66 6f 72 65 67 72 6f 75  6e 64 20 6c 69 67 68 74  |foreground light|
00000700  2c 20 62 61 63 6b 67 72  6f 75 6e 64 20 64 61 72  |, background dar|
00000710  6b 20 61 73 20 73 65 65  6e 20 6f 6e 20 74 68 65  |k as seen on the|
00000720  20 6d 6f 6e 69 74 6f 72  2e 0d 0a 45 43 48 4f 20  | monitor...ECHO |
00000730  20 20 20 20 49 66 20 74  68 69 73 20 6f 70 74 69  |    If this opti|
00000740  6f 6e 20 69 73 20 6e 6f  74 20 73 65 6c 65 63 74  |on is not select|
00000750  65 64 2c 20 74 68 65 6e  20 74 68 65 20 66 6f 72  |ed, then the for|
00000760  65 67 72 6f 75 6e 64 20  69 73 20 70 72 69 6e 74  |eground is print|
00000770  65 64 0d 0a 45 43 48 4f  20 20 20 20 20 64 61 72  |ed..ECHO     dar|
00000780  6b 20 61 6e 64 20 74 68  65 20 62 61 63 6b 67 72  |k and the backgr|
00000790  6f 75 6e 64 20 6c 69 67  68 74 2e 0d 0a 45 43 48  |ound light...ECH|
000007a0  4f 20 2f 42 20 20 50 72  69 6e 74 20 74 68 65 20  |O /B  Print the |
000007b0  62 61 63 6b 67 72 6f 75  6e 64 20 63 6f 6c 6f 75  |background colou|
000007c0  72 2e 20 49 66 20 74 68  69 73 20 6f 70 74 69 6f  |r. If this optio|
000007d0  6e 20 69 73 20 6e 6f 74  20 73 65 6c 65 63 74 65  |n is not selecte|
000007e0  64 20 74 68 65 0d 0a 45  43 48 4f 20 20 20 20 20  |d the..ECHO     |
000007f0  62 61 63 6b 67 72 6f 75  6e 64 20 63 6f 6c 6f 75  |background colou|
00000800  72 20 69 73 20 6e 6f 74  20 70 72 69 6e 74 65 64  |r is not printed|
00000810  2e 20 28 50 52 49 4e 54  45 52 20 54 59 50 45 53  |. (PRINTER TYPES|
00000820  20 43 4f 4c 4f 52 34 20  26 20 38 20 4f 4e 4c 59  | COLOR4 & 8 ONLY|
00000830  29 2e 0d 0a 45 43 48 4f  20 2f 46 20 20 54 75 72  |)...ECHO /F  Tur|
00000840  6e 20 74 68 65 20 73 63  72 65 65 6e 20 64 75 6d  |n the screen dum|
00000850  70 20 72 6f 75 6e 64 20  74 68 72 6f 75 67 68 20  |p round through |
00000860  39 30 20 44 65 67 72 65  65 73 2e 0d 0a 45 43 48  |90 Degrees...ECH|
00000870  4f 20 2f 43 20 20 43 65  6e 74 72 65 20 74 68 65  |O /C  Centre the|
00000880  20 73 63 72 65 65 6e 20  64 75 6d 70 20 6f 6e 20  | screen dump on |
00000890  74 68 65 20 70 61 67 65  2e 0d 0a 47 4f 54 4f 20  |the page...GOTO |
000008a0  45 4e 44 0d 0a 3a 4a 4f  49 4e 0d 0a 45 43 48 4f  |END..:JOIN..ECHO|
000008b0  20 4a 4f 49 4e 20 64 3a  20 5b 64 3a 5d 5b 5c 5d  | JOIN d: [d:][\]|
000008c0  70 61 74 68 0d 0a 47 4f  54 4f 20 45 4e 44 0d 0a  |path..GOTO END..|
000008d0  3a 50 41 54 48 0d 0a 45  43 48 4f 20 50 41 54 48  |:PATH..ECHO PATH|
000008e0  20 5b 64 3a 5d 5c 70 61  74 68 5b 3b 5b 64 3a 5d  | [d:]\path[;[d:]|
000008f0  5c 70 61 74 68 2e 2e 2e  5d 0d 0a 47 4f 54 4f 20  |\path...]..GOTO |
00000900  45 4e 44 0d 0a 3a 53 45  54 0d 0a 45 43 48 4f 20  |END..:SET..ECHO |
00000910  53 45 54 20 70 61 72 61  6d 65 74 65 72 3d 73 74  |SET parameter=st|
00000920  72 69 6e 67 0d 0a 47 4f  54 4f 20 45 4e 44 0d 0a  |ring..GOTO END..|
00000930  3a 53 4f 52 54 0d 0a 45  43 48 4f 20 53 4f 52 54  |:SORT..ECHO SORT|
00000940  20 5b 2f 52 5d 5b 2f 2b  6e 5d 20 20 5b 64 3a 5d  | [/R][/+n]  [d:]|
00000950  5b 5c 5d 5b 70 61 74 68  5c 5d 66 69 6c 65 6e 61  |[\][path\]filena|
00000960  6d 65 2e 66 69 6c 65 74  79 70 65 5d 20 5b 20 64  |me.filetype] [ d|
00000970  65 73 74 69 6e 61 74 69  6f 6e 5d 0d 0a 45 43 48  |estination]..ECH|
00000980  4f 20 2e 0d 0a 45 43 48  4f 20 4f 50 54 49 4f 4e  |O ...ECHO OPTION|
00000990  53 0d 0a 45 43 48 4f 20  2d 2d 2d 2d 2d 2d 2d 0d  |S..ECHO -------.|
000009a0  0a 45 43 48 4f 20 2f 52  20 20 20 52 65 76 65 72  |.ECHO /R   Rever|
000009b0  73 65 20 74 68 65 20 73  6f 72 74 2c 20 69 65 2e  |se the sort, ie.|
000009c0  20 73 6f 72 74 20 66 72  6f 6d 20 39 20 74 6f 20  | sort from 9 to |
000009d0  41 2e 0d 0a 45 43 48 4f  20 2f 2b 4e 20 20 53 6f  |A...ECHO /+N  So|
000009e0  72 74 20 61 74 20 43 6f  6c 75 6d 6e 20 4e 2e 0d  |rt at Column N..|
000009f0  0a 47 4f 54 4f 20 45 4e  44 0d 0a 3a 53 55 42 53  |.GOTO END..:SUBS|
00000a00  54 0d 0a 45 43 48 4f 20  53 55 42 53 54 20 64 3a  |T..ECHO SUBST d:|
00000a10  20 5b 64 3a 5d 5b 5c 5d  70 61 74 68 0d 0a 47 4f  | [d:][\]path..GO|
00000a20  54 4f 20 45 4e 44 0d 0a  3a 56 45 52 0d 0a 45 43  |TO END..:VER..EC|
00000a30  48 4f 20 56 45 52 0d 0a  47 4f 54 4f 20 45 4e 44  |HO VER..GOTO END|
00000a40  0d 0a 3a 56 45 52 49 46  59 0d 0a 45 43 48 4f 20  |..:VERIFY..ECHO |
00000a50  56 45 52 49 46 59 20 4f  4e 20 6f 72 20 56 45 52  |VERIFY ON or VER|
00000a60  49 46 59 20 4f 46 46 0d  0a 47 4f 54 4f 20 45 4e  |IFY OFF..GOTO EN|
00000a70  44 0d 0a 3a 41 54 54 52  49 42 0d 0a 45 43 48 4f  |D..:ATTRIB..ECHO|
00000a80  20 41 54 54 52 49 42 20  5b 2b 52 20 6f 72 20 2d  | ATTRIB [+R or -|
00000a90  52 5d 20 5b 2b 41 20 6f  72 20 2d 41 5d 20 5b 64  |R] [+A or -A] [d|
00000aa0  3a 5d 5b 5c 5d 5b 70 61  74 68 5c 5d 66 69 6c 65  |:][\][path\]file|
00000ab0  6e 61 6d 65 2e 66 69 6c  65 74 79 70 65 0d 0a 45  |name.filetype..E|
00000ac0  43 48 4f 20 2e 0d 0a 45  43 48 4f 20 4f 50 54 49  |CHO ...ECHO OPTI|
00000ad0  4f 4e 53 0d 0a 45 43 48  4f 20 2d 2d 2d 2d 2d 2d  |ONS..ECHO ------|
00000ae0  2d 0d 0a 45 43 48 4f 20  2b 52 20 20 20 4d 61 6b  |-..ECHO +R   Mak|
00000af0  65 20 74 68 65 20 66 69  6c 65 20 52 65 61 64 2d  |e the file Read-|
00000b00  4f 6e 6c 79 2e 0d 0a 45  43 48 4f 20 2d 52 20 20  |Only...ECHO -R  |
00000b10  20 4d 61 6b 65 20 74 68  65 20 66 69 6c 65 20 52  | Make the file R|
00000b20  65 61 64 2d 57 72 69 74  65 20 61 67 61 69 6e 2e  |ead-Write again.|
00000b30  0d 0a 45 43 48 4f 20 2b  41 20 20 20 46 6f 72 63  |..ECHO +A   Forc|
00000b40  65 20 74 68 65 20 66 69  6c 65 20 74 6f 20 62 65  |e the file to be|
00000b50  20 62 61 63 6b 65 64 2d  75 70 20 65 76 65 6e 20  | backed-up even |
00000b60  69 66 20 69 74 20 68 61  73 20 6e 6f 74 20 62 65  |if it has not be|
00000b70  65 6e 20 63 68 61 6e 67  65 64 2e 0d 0a 45 43 48  |en changed...ECH|
00000b80  4f 20 2d 41 20 20 20 53  74 6f 70 20 74 68 65 20  |O -A   Stop the |
00000b90  66 69 6c 65 20 66 72 6f  6d 20 62 65 69 6e 67 20  |file from being |
00000ba0  62 61 63 6b 65 64 2d 75  70 20 65 76 65 6e 20 74  |backed-up even t|
00000bb0  68 6f 75 67 68 20 69 74  20 68 61 73 20 62 65 65  |hough it has bee|
00000bc0  6e 20 63 68 61 6e 67 65  64 2e 0d 0a 47 4f 54 4f  |n changed...GOTO|
00000bd0  20 45 4e 44 0d 0a 3a 43  4f 4d 50 0d 0a 45 43 48  | END..:COMP..ECH|
00000be0  4f 20 43 4f 4d 50 20 5b  6f 70 74 69 6f 6e 5b 6f  |O COMP [option[o|
00000bf0  70 74 69 6f 6e 2e 2e 2e  5d 5d 20 5b 64 3a 5d 5b  |ption...]] [d:][|
00000c00  5c 5d 5b 70 61 74 68 5c  5d 66 69 6c 65 6e 61 6d  |\][path\]filenam|
00000c10  65 2e 66 69 6c 65 74 79  70 65 20 5b 64 3a 5d 5b  |e.filetype [d:][|
00000c20  5c 5d 5b 70 61 74 68 5c  5d 0d 0a 45 43 48 4f 20  |\][path\]..ECHO |
00000c30  20 20 20 20 20 66 69 6c  65 6e 61 6d 65 2e 66 69  |     filename.fi|
00000c40  6c 65 74 79 70 65 0d 0a  45 43 48 4f 20 2e 0d 0a  |letype..ECHO ...|
00000c50  45 43 48 4f 20 4f 50 54  49 4f 4e 53 0d 0a 45 43  |ECHO OPTIONS..EC|
00000c60  48 4f 20 2d 2d 2d 2d 2d  2d 2d 0d 0a 45 43 48 4f  |HO -------..ECHO|
00000c70  20 2f 41 20 20 20 20 20  54 6f 20 69 6e 64 69 63  | /A     To indic|
00000c80  61 74 65 20 77 68 65 72  65 20 74 68 65 20 64 69  |ate where the di|
00000c90  66 66 65 72 65 6e 63 65  20 69 73 20 6a 75 73 74  |fference is just|
00000ca0  20 64 69 73 70 6c 61 79  20 74 68 65 20 6c 61 73  | display the las|
00000cb0  74 20 6c 69 6e 65 20 6f  66 0d 0a 45 43 48 4f 20  |t line of..ECHO |
00000cc0  20 20 20 20 20 20 20 74  68 65 20 70 72 65 76 69  |       the previ|
00000cd0  6f 75 73 20 6d 61 74 63  68 69 6e 67 20 73 65 63  |ous matching sec|
00000ce0  74 69 6f 6e 20 61 6e 64  20 74 68 65 20 66 69 72  |tion and the fir|
00000cf0  73 74 20 6c 69 6e 65 20  6f 66 20 74 68 65 20 66  |st line of the f|
00000d00  6f 6c 6c 6f 77 69 6e 67  0d 0a 45 43 48 4f 20 20  |ollowing..ECHO  |
00000d10  20 20 20 20 20 20 6d 61  74 63 68 69 6e 67 20 73  |      matching s|
00000d20  65 63 74 69 6f 6e 20 2d  20 6e 6f 74 20 61 6c 6c  |ection - not all|
00000d30  20 74 68 65 20 6c 69 6e  65 73 20 69 6e 20 62 65  | the lines in be|
00000d40  74 77 65 65 6e 2e 20 28  54 68 65 20 6c 69 6e 65  |tween. (The line|
00000d50  73 20 69 6e 0d 0a 45 43  48 4f 20 20 20 20 20 20  |s in..ECHO      |
00000d60  20 20 62 65 74 77 65 65  6e 20 61 72 65 20 72 65  |  between are re|
00000d70  70 72 65 73 65 6e 74 65  64 20 62 79 20 2e 2e 2e  |presented by ...|
00000d80  29 2e 0d 0a 45 43 48 4f  20 2f 43 20 20 20 20 20  |)...ECHO /C     |
00000d90  54 72 65 61 74 20 61 6c  6c 20 6c 65 74 74 65 72  |Treat all letter|
00000da0  73 20 61 73 20 75 70 70  65 72 20 63 61 73 65 20  |s as upper case |
00000db0  69 6e 20 74 68 65 20 63  6f 6d 70 61 72 69 73 6f  |in the compariso|
00000dc0  6e 2e 0d 0a 45 43 48 4f  20 2f 4c 20 20 20 20 20  |n...ECHO /L     |
00000dd0  46 6f 72 63 65 20 61 20  6c 69 6e 65 20 62 79 20  |Force a line by |
00000de0  6c 69 6e 65 20 63 6f 6d  70 61 72 69 73 6f 6e 2e  |line comparison.|
00000df0  20 28 55 73 65 64 20 77  68 65 6e 20 74 68 65 20  | (Used when the |
00000e00  66 69 6c 65 74 79 70 65  20 6f 66 20 65 69 74 68  |filetype of eith|
00000e10  65 72 0d 0a 45 43 48 4f  20 20 20 20 20 20 20 20  |er..ECHO        |
00000e20  66 69 6c 65 20 69 73 20  45 58 45 2c 20 43 4f 4d  |file is EXE, COM|
00000e30  2c 20 53 59 53 2c 20 4f  42 4a 2c 20 4c 49 42 20  |, SYS, OBJ, LIB |
00000e40  6f 72 20 42 49 4e 2e 0d  0a 45 43 48 4f 20 2f 4c  |or BIN...ECHO /L|
00000e50  42 6e 20 20 20 53 65 74  20 74 68 65 20 62 75 66  |Bn   Set the buf|
00000e60  66 65 72 20 73 69 7a 65  20 74 6f 20 6e 20 6c 69  |fer size to n li|
00000e70  6e 65 73 2e 20 28 54 68  65 20 64 65 66 61 75 6c  |nes. (The defaul|
00000e80  74 20 69 73 20 31 30 30  20 6c 69 6e 65 73 3b 20  |t is 100 lines; |
00000e90  74 68 65 0d 0a 45 43 48  4f 20 20 20 20 20 20 20  |the..ECHO       |
00000ea0  20 6d 61 78 69 6d 75 6d  20 64 65 70 65 6e 64 73  | maximum depends|
00000eb0  20 6f 6e 20 74 68 65 20  61 6d 6f 75 6e 74 20 6f  | on the amount o|
00000ec0  66 20 6d 65 6d 6f 72 79  20 73 70 61 63 65 20 79  |f memory space y|
00000ed0  6f 75 72 20 50 43 20 68  61 73 2e 29 0d 0a 45 43  |our PC has.)..EC|
00000ee0  48 4f 20 2f 4e 20 20 20  20 20 41 64 64 20 6c 69  |HO /N     Add li|
00000ef0  6e 65 20 6e 75 6d 62 65  72 73 20 77 68 65 6e 20  |ne numbers when |
00000f00  72 65 70 6f 72 74 69 6e  67 20 77 68 65 72 65 20  |reporting where |
00000f10  74 68 65 20 64 69 66 66  65 72 65 6e 63 65 73 20  |the differences |
00000f20  61 72 65 2e 0d 0a 45 43  48 4f 20 2f 54 20 20 20  |are...ECHO /T   |
00000f30  20 20 44 6f 6e 27 74 20  65 78 70 61 6e 64 20 74  |  Don't expand t|
00000f40  61 62 20 63 68 61 72 61  63 74 65 72 73 20 74 6f  |ab characters to|
00000f50  20 73 70 61 63 65 73 2e  20 28 54 68 65 20 64 65  | spaces. (The de|
00000f60  66 61 75 6c 74 20 69 73  20 74 6f 20 69 6e 74 65  |fault is to inte|
00000f70  72 70 72 65 74 0d 0a 45  43 48 4f 20 20 20 20 20  |rpret..ECHO     |
00000f80  20 20 20 65 61 63 68 20  74 61 62 20 63 68 61 72  |   each tab char|
00000f90  61 63 74 65 72 20 61 73  20 73 70 61 63 65 73 20  |acter as spaces |
00000fa0  75 70 20 74 6f 20 68 65  20 73 74 61 72 74 20 6f  |up to he start o|
00000fb0  66 20 74 68 65 20 6e 65  78 74 20 38 20 63 68 61  |f the next 8 cha|
00000fc0  72 61 63 74 65 72 0d 0a  45 43 48 4f 20 20 20 20  |racter..ECHO    |
00000fd0  20 20 20 20 63 6f 6c 75  6d 6e 2e 0d 0a 45 43 48  |    column...ECH|
00000fe0  4f 20 2f 57 20 20 20 20  20 49 6e 74 65 72 70 72  |O /W     Interpr|
00000ff0  65 74 20 61 6c 6c 20 74  61 62 73 20 61 6e 64 20  |et all tabs and |
00001000  6d 75 6c 74 69 70 6c 65  20 73 70 61 63 65 73 20  |multiple spaces |
00001010  61 73 20 73 69 6e 67 6c  65 20 73 70 61 63 65 73  |as single spaces|
00001020  3b 20 69 67 6e 6f 72 65  0d 0a 45 43 48 4f 20 20  |; ignore..ECHO  |
00001030  20 20 20 20 20 20 73 70  61 63 65 73 20 61 74 20  |      spaces at |
00001040  74 68 65 20 62 65 67 69  6e 6e 69 6e 67 20 61 6e  |the beginning an|
00001050  64 20 65 6e 64 20 6f 66  20 61 6e 79 20 6c 69 6e  |d end of any lin|
00001060  65 2e 0d 0a 45 43 48 4f  20 2f 6e 20 20 20 20 20  |e...ECHO /n     |
00001070  53 65 74 20 74 68 65 20  6e 75 6d 62 65 72 20 6f  |Set the number o|
00001080  66 20 69 64 65 6e 74 69  63 61 6c 20 6c 69 6e 65  |f identical line|
00001090  73 20 72 65 71 75 69 72  65 64 20 62 65 66 6f 72  |s required befor|
000010a0  65 20 74 68 65 20 63 6f  6d 70 61 72 69 73 6f 6e  |e the comparison|
000010b0  0d 0a 45 43 48 4f 20 20  20 20 20 20 20 20 72 65  |..ECHO        re|
000010c0  73 79 6e 63 68 72 6f 6e  69 73 65 73 20 74 6f 20  |synchronises to |
000010d0  6e 2e 20 28 54 68 65 20  64 65 66 61 75 6c 74 20  |n. (The default |
000010e0  69 73 20 32 20 6c 69 6e  65 73 29 2e 0d 0a 47 4f  |is 2 lines)...GO|
000010f0  54 4f 20 45 4e 44 0d 0a  3a 43 4f 50 59 0d 0a 45  |TO END..:COPY..E|
00001100  43 48 4f 20 43 4f 50 59  20 5b 64 3a 5d 5b 5c 5d  |CHO COPY [d:][\]|
00001110  5b 70 61 74 68 5c 5d 73  6f 75 72 63 65 5b 2f 41  |[path\]source[/A|
00001120  5d 5b 2f 42 5d 20 5b 64  3a 5d 5b 5c 5d 5b 70 61  |][/B] [d:][\][pa|
00001130  74 68 5c 5d 64 65 73 74  69 6e 61 74 69 6f 6e 5b  |th\]destination[|
00001140  2f 41 5d 5b 2f 42 5d 5b  2f 56 5d 0d 0a 45 43 48  |/A][/B][/V]..ECH|
00001150  4f 20 2e 0d 0a 45 43 48  4f 20 4f 50 54 49 4f 4e  |O ...ECHO OPTION|
00001160  53 0d 0a 45 43 48 4f 20  2d 2d 2d 2d 2d 2d 2d 0d  |S..ECHO -------.|
00001170  0a 45 43 48 4f 20 53 4f  55 52 43 45 0d 0a 45 43  |.ECHO SOURCE..EC|
00001180  48 4f 20 2d 2d 2d 2d 2d  2d 0d 0a 45 43 48 4f 20  |HO ------..ECHO |
00001190  2f 41 20 20 54 68 65 20  66 69 6c 65 20 69 73 20  |/A  The file is |
000011a0  74 72 65 61 74 65 64 20  61 73 20 61 6e 20 41 53  |treated as an AS|
000011b0  43 49 49 20 74 65 78 74  20 66 69 6c 65 2e 20 54  |CII text file. T|
000011c0  68 65 20 63 6f 6e 74 65  6e 74 73 20 61 72 65 20  |he contents are |
000011d0  63 6f 70 69 65 64 20 75  70 0d 0a 45 43 48 4f 20  |copied up..ECHO |
000011e0  20 20 20 20 74 6f 2c 20  62 75 74 20 6e 6f 74 20  |    to, but not |
000011f0  69 6e 63 6c 75 64 69 6e  67 2c 20 74 68 65 20 66  |including, the f|
00001200  69 72 73 74 20 43 74 72  6c 2d 5a 20 28 65 6e 64  |irst Ctrl-Z (end|
00001210  20 6f 66 20 66 69 6c 65  29 20 63 68 61 72 61 63  | of file) charac|
00001220  74 65 72 2e 20 54 68 65  0d 0a 45 43 48 4f 20 20  |ter. The..ECHO  |
00001230  20 20 20 72 65 6d 61 69  6e 69 6e 67 20 63 68 61  |   remaining cha|
00001240  72 61 63 74 65 72 73 20  61 72 65 20 6e 6f 74 20  |racters are not |
00001250  63 6f 70 69 65 64 2e 0d  0a 45 43 48 4f 20 2f 42  |copied...ECHO /B|
00001260  20 20 54 68 65 20 65 6e  74 69 72 65 20 66 69 6c  |  The entire fil|
00001270  65 20 69 73 20 63 6f 70  69 65 64 2c 20 72 65 67  |e is copied, reg|
00001280  61 72 64 6c 65 73 73 20  6f 66 20 61 6e 79 20 43  |ardless of any C|
00001290  74 72 6c 2d 5a 20 28 65  6e 64 20 6f 66 20 66 69  |trl-Z (end of fi|
000012a0  6c 65 29 0d 0a 45 43 48  4f 20 20 20 20 20 63 68  |le)..ECHO     ch|
000012b0  61 72 61 63 74 65 72 20  66 6f 75 6e 64 20 69 6e  |aracter found in|
000012c0  20 74 68 65 20 66 69 6c  65 2e 0d 0a 45 43 48 4f  | the file...ECHO|
000012d0  20 44 45 53 54 49 4e 41  54 49 4f 4e 0d 0a 45 43  | DESTINATION..EC|
000012e0  48 4f 20 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 0d 0a  |HO -----------..|
000012f0  45 43 48 4f 20 2f 41 20  20 54 68 65 20 66 69 6c  |ECHO /A  The fil|
00001300  65 20 69 73 20 74 72 65  61 74 65 64 20 61 73 20  |e is treated as |
00001310  61 6e 20 41 53 43 49 49  20 74 65 78 74 20 66 69  |an ASCII text fi|
00001320  6c 65 2e 20 41 20 43 74  72 6c 2d 5a 20 28 65 6e  |le. A Ctrl-Z (en|
00001330  64 20 6f 66 20 66 69 6c  65 29 0d 0a 45 43 48 4f  |d of file)..ECHO|
00001340  20 20 20 20 20 63 68 61  72 61 63 74 65 72 20 69  |     character i|
00001350  73 20 61 64 64 65 64 20  74 6f 20 74 68 65 20 65  |s added to the e|
00001360  6e 64 20 6f 66 20 74 68  65 20 66 69 6c 65 2e 0d  |nd of the file..|
00001370  0a 45 43 48 4f 20 2f 42  20 20 4e 6f 20 43 74 72  |.ECHO /B  No Ctr|
00001380  6c 2d 5a 20 28 65 6e 64  20 6f 66 20 66 69 6c 65  |l-Z (end of file|
00001390  29 20 63 68 61 72 61 63  74 65 72 20 69 73 20 61  |) character is a|
000013a0  64 64 65 64 20 74 6f 20  74 68 65 20 65 6e 64 20  |dded to the end |
000013b0  6f 66 20 74 68 65 20 66  69 6c 65 2e 0d 0a 45 43  |of the file...EC|
000013c0  48 4f 20 2f 56 20 20 54  68 65 20 64 65 73 74 69  |HO /V  The desti|
000013d0  6e 61 74 69 6f 6e 20 66  69 6c 65 20 69 73 20 63  |nation file is c|
000013e0  6f 6d 70 61 72 65 64 20  77 69 74 68 20 74 68 65  |ompared with the|
000013f0  20 73 6f 75 72 63 65 20  66 69 6c 65 20 74 6f 20  | source file to |
00001400  76 65 72 69 66 79 20 74  68 65 0d 0a 45 43 48 4f  |verify the..ECHO|
00001410  20 20 20 20 20 61 63 63  75 72 61 63 79 20 6f 66  |     accuracy of|
00001420  20 74 68 65 20 63 6f 70  79 2e 0d 0a 47 4f 54 4f  | the copy...GOTO|
00001430  20 45 4e 44 0d 0a 3a 44  45 4c 0d 0a 45 43 48 4f  | END..:DEL..ECHO|
00001440  20 44 45 4c 20 5b 64 3a  5d 5b 5c 5d 5b 70 61 74  | DEL [d:][\][pat|
00001450  68 5c 5d 66 69 6c 65 6e  61 6d 65 2e 66 69 6c 65  |h\]filename.file|
00001460  74 79 70 65 0d 0a 47 4f  54 4f 20 45 4e 44 0d 0a  |type..GOTO END..|
00001470  3a 45 52 41 53 45 0d 0a  45 43 48 4f 20 45 52 41  |:ERASE..ECHO ERA|
00001480  53 45 20 5b 64 3a 5d 5b  5c 5d 5b 70 61 74 68 5c  |SE [d:][\][path\|
00001490  5d 66 69 6c 65 6e 61 6d  65 2e 66 69 6c 65 74 79  |]filename.filety|
000014a0  70 65 0d 0a 47 4f 54 4f  20 45 4e 44 0d 0a 3a 4d  |pe..GOTO END..:M|
000014b0  4b 44 49 52 0d 0a 45 43  48 4f 20 4d 4b 44 49 52  |KDIR..ECHO MKDIR|
000014c0  20 5b 64 3a 5d 5b 5c 5d  70 61 74 68 0d 0a 47 4f  | [d:][\]path..GO|
000014d0  54 4f 20 45 4e 44 0d 0a  3a 43 48 4b 44 53 4b 0d  |TO END..:CHKDSK.|
000014e0  0a 45 43 48 4f 20 43 48  4b 44 53 4b 20 64 3a 5b  |.ECHO CHKDSK d:[|
000014f0  5c 5d 5b 70 61 74 68 5c  5d 5b 66 69 6c 65 6e 61  |\][path\][filena|
00001500  6d 65 2e 66 69 6c 65 74  79 70 65 5d 5b 2f 46 5d  |me.filetype][/F]|
00001510  5b 2f 4e 5d 0d 0a 45 43  48 4f 20 2e 0d 0a 45 43  |[/N]..ECHO ...EC|
00001520  48 4f 20 4f 50 54 49 4f  4e 53 0d 0a 45 43 48 4f  |HO OPTIONS..ECHO|
00001530  20 2d 2d 2d 2d 2d 2d 2d  0d 0a 45 43 48 4f 20 2f  | -------..ECHO /|
00001540  46 20 20 20 46 69 78 20  65 72 72 6f 72 73 20 61  |F   Fix errors a|
00001550  73 20 74 68 65 20 64 69  73 6b 20 69 73 20 70 72  |s the disk is pr|
00001560  6f 63 65 73 73 65 64 2e  0d 0a 45 43 48 4f 20 2f  |ocessed...ECHO /|
00001570  4e 20 20 20 44 69 73 70  6c 61 79 20 6d 65 73 73  |N   Display mess|
00001580  61 67 65 73 20 61 73 20  74 68 65 20 64 69 73 6b  |ages as the disk|
00001590  20 69 73 20 70 72 6f 63  65 73 73 65 64 2e 0d 0a  | is processed...|
000015a0  47 4f 54 4f 20 45 4e 44  0d 0a 3a 44 49 53 4b 43  |GOTO END..:DISKC|
000015b0  4f 4d 50 0d 0a 45 43 48  4f 20 44 49 53 4b 43 4f  |OMP..ECHO DISKCO|
000015c0  4d 50 20 73 6f 75 72 63  65 2d 64 72 69 76 65 3a  |MP source-drive:|
000015d0  20 74 61 72 67 65 74 2d  64 72 69 76 65 3a 5b 2f  | target-drive:[/|
000015e0  31 5d 5b 2f 38 5d 0d 0a  45 43 48 4f 20 2e 0d 0a  |1][/8]..ECHO ...|
000015f0  45 43 48 4f 20 4f 50 54  49 4f 4e 53 0d 0a 45 43  |ECHO OPTIONS..EC|
00001600  48 4f 20 2d 2d 2d 2d 2d  2d 2d 0d 0a 45 43 48 4f  |HO -------..ECHO|
00001610  20 2f 31 20 20 20 43 6f  6d 70 61 72 65 20 6a 75  | /1   Compare ju|
00001620  73 74 20 74 68 65 20 66  69 72 73 74 20 73 69 64  |st the first sid|
00001630  65 20 6f 66 20 74 68 65  20 64 69 73 6b 73 2e 0d  |e of the disks..|
00001640  0a 45 43 48 4f 20 2f 38  20 20 20 43 6f 6d 70 61  |.ECHO /8   Compa|
00001650  72 65 20 6a 75 73 74 20  74 68 65 20 66 69 72 73  |re just the firs|
00001660  74 20 65 69 67 68 74 20  73 65 63 74 6f 72 73 20  |t eight sectors |
00001670  6f 66 20 65 61 63 68 20  74 72 61 63 6b 2e 0d 0a  |of each track...|
00001680  47 4f 54 4f 20 45 4e 44  0d 0a 3a 44 49 53 4b 43  |GOTO END..:DISKC|
00001690  4f 50 59 0d 0a 45 43 48  4f 20 44 49 53 4b 43 4f  |OPY..ECHO DISKCO|
000016a0  50 59 20 73 6f 75 72 63  65 2d 64 72 69 76 65 3a  |PY source-drive:|
000016b0  20 74 61 72 67 65 74 2d  64 72 69 76 65 3a 0d 0a  | target-drive:..|
000016c0  47 4f 54 4f 20 45 4e 44  0d 0a 3a 43 54 54 59 0d  |GOTO END..:CTTY.|
000016d0  0a 45 43 48 4f 20 43 54  54 59 20 64 65 76 69 63  |.ECHO CTTY devic|
000016e0  65 0d 0a 47 4f 54 4f 20  45 4e 44 0d 0a 3a 44 41  |e..GOTO END..:DA|
000016f0  54 45 0d 0a 45 43 48 4f  20 44 41 54 45 20 5b 64  |TE..ECHO DATE [d|
00001700  64 2d 6d 6d 2d 79 79 5d  0d 0a 47 4f 54 4f 20 45  |d-mm-yy]..GOTO E|
00001710  4e 44 0d 0a 3a 45 44 4c  49 4e 0d 0a 45 43 48 4f  |ND..:EDLIN..ECHO|
00001720  20 45 44 4c 49 4e 20 5b  64 3a 5d 5b 5c 5d 5b 70  | EDLIN [d:][\][p|
00001730  61 74 68 5c 5d 66 69 6c  65 6e 61 6d 65 2e 66 69  |ath\]filename.fi|
00001740  6c 65 74 79 70 65 5b 2f  42 5d 0d 0a 45 43 48 4f  |letype[/B]..ECHO|
00001750  20 2e 0d 0a 45 43 48 4f  20 4f 50 54 49 4f 4e 53  | ...ECHO OPTIONS|
00001760  0d 0a 45 43 48 4f 20 2d  2d 2d 2d 2d 2d 2d 0d 0a  |..ECHO -------..|
00001770  45 43 48 4f 20 2f 42 20  20 20 44 6f 6e 27 74 20  |ECHO /B   Don't |
00001780  69 6e 74 65 72 70 72 65  74 20 43 74 72 6c 2d 5a  |interpret Ctrl-Z|
00001790  20 63 68 61 72 61 63 74  65 72 73 20 61 73 20 65  | characters as e|
000017a0  6e 64 20 6f 66 20 66 69  6c 65 2e 0d 0a 47 4f 54  |nd of file...GOT|
000017b0  4f 20 45 4e 44 0d 0a 3a  46 4f 52 4d 41 54 0d 0a  |O END..:FORMAT..|
000017c0  45 43 48 4f 20 46 4f 52  4d 41 54 20 64 3a 5b 6f  |ECHO FORMAT d:[o|
000017d0  70 74 69 6f 6e 5b 6f 70  74 69 6f 6e 2e 2e 2e 5d  |ption[option...]|
000017e0  5d 0d 0a 45 43 48 4f 20  2e 0d 0a 45 43 48 4f 20  |]..ECHO ...ECHO |
000017f0  4f 50 54 49 4f 4e 53 0d  0a 45 43 48 4f 20 2d 2d  |OPTIONS..ECHO --|
00001800  2d 2d 2d 2d 2d 0d 0a 45  43 48 4f 20 2f 31 20 20  |-----..ECHO /1  |
00001810  20 20 46 6f 72 6d 61 74  20 61 20 73 69 6e 67 6c  |  Format a singl|
00001820  65 20 73 69 64 65 64 20  64 69 73 6b 2e 0d 0a 45  |e sided disk...E|
00001830  43 48 4f 20 2f 38 20 20  20 20 46 6f 72 6d 61 74  |CHO /8    Format|
00001840  20 77 69 74 68 20 38 20  75 73 61 62 6c 65 20 73  | with 8 usable s|
00001850  65 63 74 6f 72 73 20 70  65 72 20 74 72 61 63 6b  |ectors per track|
00001860  2e 0d 0a 45 43 48 4f 20  2f 42 20 20 20 20 52 65  |...ECHO /B    Re|
00001870  73 65 72 76 65 20 73 70  61 63 65 20 66 6f 72 20  |serve space for |
00001880  68 69 64 64 65 6e 20 73  79 73 74 65 6d 20 66 69  |hidden system fi|
00001890  6c 65 73 2e 0d 0a 45 43  48 4f 20 2f 4e 3a 6e 20  |les...ECHO /N:n |
000018a0  20 46 6f 72 6d 61 74 20  77 69 74 68 20 6e 20 73  | Format with n s|
000018b0  65 63 74 6f 72 73 20 70  65 72 20 74 72 61 63 6b  |ectors per track|
000018c0  20 28 6e 3d 38 2c 39 29  0d 0a 45 43 48 4f 20 2f  | (n=8,9)..ECHO /|
000018d0  54 3a 74 20 20 46 6f 72  6d 61 74 20 77 69 74 68  |T:t  Format with|
000018e0  20 74 20 74 72 61 63 6b  73 20 28 74 3d 34 30 2c  | t tracks (t=40,|
000018f0  38 30 29 0d 0a 45 43 48  4f 20 2f 56 20 20 20 20  |80)..ECHO /V    |
00001900  50 72 6f 6d 70 74 20 66  6f 72 20 61 20 64 69 73  |Prompt for a dis|
00001910  6b 20 6c 61 62 65 6c 20  61 66 74 65 72 20 74 68  |k label after th|
00001920  65 20 66 6f 72 6d 61 74  20 68 61 73 20 62 65 65  |e format has bee|
00001930  6e 20 63 6f 6d 70 6c 65  74 65 64 20 28 74 68 65  |n completed (the|
00001940  0d 0a 45 43 48 4f 20 20  20 20 20 20 20 6c 61 62  |..ECHO       lab|
00001950  65 6c 20 77 68 69 63 68  20 69 73 20 73 68 6f 77  |el which is show|
00001960  6e 20 6f 6e 20 74 68 65  20 73 63 72 65 65 6e 20  |n on the screen |
00001970  65 76 65 72 79 20 74 69  6d 65 20 79 6f 75 20 75  |every time you u|
00001980  73 65 20 74 68 65 20 44  49 52 0d 0a 45 43 48 4f  |se the DIR..ECHO|
00001990  20 20 20 20 20 20 20 63  6f 6d 6d 61 6e 64 20 74  |       command t|
000019a0  6f 20 64 69 73 70 6c 61  79 20 74 68 65 20 63 6f  |o display the co|
000019b0  6e 74 65 6e 74 73 20 6f  66 20 74 68 65 20 64 69  |ntents of the di|
000019c0  73 6b 20 2d 20 63 61 6e  20 62 65 20 75 70 20 74  |sk - can be up t|
000019d0  6f 20 31 31 0d 0a 45 43  48 4f 20 20 20 20 20 20  |o 11..ECHO      |
000019e0  20 63 68 61 72 61 63 74  65 72 73 20 6c 6f 6e 67  | characters long|
000019f0  2e 0d 0a 45 43 48 4f 20  2f 53 20 20 20 20 46 6f  |...ECHO /S    Fo|
00001a00  72 6d 61 74 20 61 6e 64  20 70 72 65 70 61 72 65  |rmat and prepare|
00001a10  20 66 6f 72 20 75 73 65  20 61 73 20 61 20 73 74  | for use as a st|
00001a20  61 72 74 75 70 20 64 69  73 6b 20 62 79 20 63 6f  |artup disk by co|
00001a30  70 79 69 6e 67 20 74 68  65 0d 0a 45 43 48 4f 20  |pying the..ECHO |
00001a40  20 20 20 20 20 20 73 79  73 74 65 6d 20 66 69 6c  |      system fil|
00001a50  65 73 20 66 72 6f 6d 20  74 68 65 20 64 65 66 61  |es from the defa|
00001a60  75 6c 74 20 64 72 69 76  65 20 74 6f 20 74 68 65  |ult drive to the|
00001a70  20 6e 65 77 6c 79 20 66  6f 72 6d 61 74 74 65 64  | newly formatted|
00001a80  20 64 69 73 6b 2e 0d 0a  47 4f 54 4f 20 45 4e 44  | disk...GOTO END|
00001a90  0d 0a 3a 4b 45 59 42 55  4b 0d 0a 45 43 48 4f 20  |..:KEYBUK..ECHO |
00001aa0  4b 45 59 42 55 4b 0d 0a  47 4f 54 4f 20 45 4e 44  |KEYBUK..GOTO END|
00001ab0  0d 0a 3a 4c 41 42 45 4c  0d 0a 45 43 48 4f 20 4c  |..:LABEL..ECHO L|
00001ac0  41 42 45 4c 20 5b 64 3a  5d 20 6c 61 62 65 6c 0d  |ABEL [d:] label.|
00001ad0  0a 47 4f 54 4f 20 45 4e  44 0d 0a 3a 4d 4f 44 45  |.GOTO END..:MODE|
00001ae0  0d 0a 45 43 48 4f 20 4d  4f 44 45 20 64 65 76 69  |..ECHO MODE devi|
00001af0  63 65 3a 73 65 74 74 69  6e 67 5b 2c 73 65 74 74  |ce:setting[,sett|
00001b00  69 6e 67 2e 2e 2e 5d 0d  0a 47 4f 54 4f 20 45 4e  |ing...]..GOTO EN|
00001b10  44 0d 0a 3a 52 45 4e 41  4d 45 0d 0a 45 43 48 4f  |D..:RENAME..ECHO|
00001b20  20 52 45 4e 41 4d 45 20  5b 64 3a 5d 5b 5c 5d 5b  | RENAME [d:][\][|
00001b30  70 61 74 68 5c 5d 6f 6c  64 2d 6e 61 6d 65 20 6e  |path\]old-name n|
00001b40  65 77 2d 6e 61 6d 65 0d  0a 47 4f 54 4f 20 45 4e  |ew-name..GOTO EN|
00001b50  44 0d 0a 3a 52 4d 44 49  52 0d 0a 45 43 48 4f 20  |D..:RMDIR..ECHO |
00001b60  52 4d 44 49 52 20 5b 64  3a 5d 5b 5c 5d 70 61 74  |RMDIR [d:][\]pat|
00001b70  68 0d 0a 47 4f 54 4f 20  45 4e 44 0d 0a 3a 53 48  |h..GOTO END..:SH|
00001b80  49 46 54 0d 0a 45 43 48  4f 20 53 48 49 46 54 0d  |IFT..ECHO SHIFT.|
00001b90  0a 47 4f 54 4f 20 45 4e  44 0d 0a 3a 53 59 53 0d  |.GOTO END..:SYS.|
00001ba0  0a 45 43 48 4f 20 53 59  53 20 64 3a 0d 0a 47 4f  |.ECHO SYS d:..GO|
00001bb0  54 4f 20 45 4e 44 0d 0a  3a 54 49 4d 45 0d 0a 45  |TO END..:TIME..E|
00001bc0  43 48 4f 20 54 49 4d 45  20 5b 68 68 3a 6d 6d 5d  |CHO TIME [hh:mm]|
00001bd0  0d 0a 47 4f 54 4f 20 45  4e 44 0d 0a 3a 54 52 45  |..GOTO END..:TRE|
00001be0  45 0d 0a 45 43 48 4f 20  54 52 45 45 20 5b 64 3a  |E..ECHO TREE [d:|
00001bf0  5d 5b 5c 46 5d 0d 0a 45  43 48 4f 20 2e 0d 0a 45  |][\F]..ECHO ...E|
00001c00  43 48 4f 20 49 66 20 74  68 65 20 6f 70 74 69 6f  |CHO If the optio|
00001c10  6e 20 2f 46 20 69 73 20  75 73 65 64 2c 20 74 68  |n /F is used, th|
00001c20  65 20 6e 61 6d 65 73 20  6f 66 20 74 68 65 20 66  |e names of the f|
00001c30  69 6c 65 73 20 69 6e 20  65 61 63 68 20 64 69 72  |iles in each dir|
00001c40  65 63 74 6f 72 79 20 61  72 65 0d 0a 45 43 48 4f  |ectory are..ECHO|
00001c50  20 61 6c 73 6f 20 6c 69  73 74 65 64 2e 0d 0a 47  | also listed...G|
00001c60  4f 54 4f 20 45 4e 44 0d  0a 3a 54 59 50 45 0d 0a  |OTO END..:TYPE..|
00001c70  45 43 48 4f 20 54 59 50  45 20 5b 64 3a 5d 5b 5c  |ECHO TYPE [d:][\|
00001c80  5d 5b 70 61 74 68 5c 5d  66 69 6c 65 6e 61 6d 65  |][path\]filename|
00001c90  2e 66 69 6c 65 74 79 70  65 0d 0a 47 4f 54 4f 20  |.filetype..GOTO |
00001ca0  45 4e 44 0d 0a 3a 56 4f  4c 0d 0a 45 43 48 4f 20  |END..:VOL..ECHO |
00001cb0  56 4f 4c 20 64 3a 0d 0a  47 4f 54 4f 20 45 4e 44  |VOL d:..GOTO END|
00001cc0  0d 0a 3a 50 52 4f 4d 50  54 0d 0a 45 43 48 4f 20  |..:PROMPT..ECHO |
00001cd0  50 52 4f 4d 50 54 20 70  72 6f 6d 70 74 2d 74 65  |PROMPT prompt-te|
00001ce0  78 74 0d 0a 45 43 48 4f  20 77 68 65 72 65 20 5b  |xt..ECHO where [|
00001cf0  70 72 6f 6d 70 74 2d 74  65 78 74 5d 20 69 73 3a  |prompt-text] is:|
00001d00  20 6c 65 74 74 65 72 3a  24 63 68 61 72 61 63 74  | letter:$charact|
00001d10  65 72 5b 6c 65 74 74 65  72 3a 24 63 68 61 72 61  |er[letter:$chara|
00001d20  63 74 65 72 2e 2e 2e 5d  0d 0a 45 43 48 4f 20 2e  |cter...]..ECHO .|
00001d30  0d 0a 45 43 48 4f 20 54  61 62 6c 65 20 6f 66 20  |..ECHO Table of |
00001d40  24 63 68 61 72 61 63 74  65 72 20 63 6f 6d 6d 61  |$character comma|
00001d50  6e 64 73 0d 0a 45 43 48  4f 20 24 54 20 20 20 54  |nds..ECHO $T   T|
00001d60  69 6d 65 2e 0d 0a 45 43  48 4f 20 24 64 20 20 20  |ime...ECHO $d   |
00001d70  44 61 74 65 2e 0d 0a 45  43 48 4f 20 24 6e 20 20  |Date...ECHO $n  |
00001d80  20 54 68 65 20 64 72 69  76 65 20 6c 65 74 74 65  | The drive lette|
00001d90  72 20 6f 66 20 74 68 65  20 64 65 66 61 75 6c 74  |r of the default|
00001da0  20 64 72 69 76 65 2e 0d  0a 45 43 48 4f 20 24 70  | drive...ECHO $p|
00001db0  20 20 20 54 68 65 20 63  75 72 72 65 6e 74 20 64  |   The current d|
00001dc0  69 72 65 63 74 6f 72 79  20 6f 6e 20 74 68 65 20  |irectory on the |
00001dd0  64 65 66 61 75 6c 74 20  64 72 69 76 65 2e 0d 0a  |default drive...|
00001de0  45 43 48 4f 20 24 76 20  20 20 54 68 65 20 4d 53  |ECHO $v   The MS|
00001df0  2d 44 4f 53 20 76 65 72  73 69 6f 6e 20 6e 75 6d  |-DOS version num|
00001e00  62 65 72 2e 0d 0a 45 43  48 4f 20 24 24 20 20 20  |ber...ECHO $$   |
00001e10  41 20 24 20 63 68 61 72  61 63 74 65 72 2e 0d 0a  |A $ character...|
00001e20  45 43 48 4f 20 24 67 20  20 20 41 20 22 3e 22 20  |ECHO $g   A ">" |
00001e30  63 68 61 72 61 63 74 65  72 2e 0d 0a 45 43 48 4f  |character...ECHO|
00001e40  20 24 6c 20 20 20 41 20  22 3c 22 20 63 68 61 72  | $l   A "<" char|
00001e50  61 63 74 65 72 2e 0d 0a  45 43 48 4f 20 24 62 20  |acter...ECHO $b |
00001e60  20 20 41 20 3a 20 63 68  61 72 61 63 74 65 72 2e  |  A : character.|
00001e70  0d 0a 45 43 48 4f 20 24  71 20 20 20 41 20 3d 20  |..ECHO $q   A = |
00001e80  63 68 61 72 61 63 74 65  72 2e 0d 0a 45 43 48 4f  |character...ECHO|
00001e90  20 24 68 20 20 20 41 20  42 61 63 6b 73 70 61 63  | $h   A Backspac|
00001ea0  65 20 63 68 61 72 61 63  74 65 72 2e 0d 0a 45 43  |e character...EC|
00001eb0  48 4f 20 24 65 20 20 20  41 6e 20 45 53 43 61 70  |HO $e   An ESCap|
00001ec0  65 20 63 68 61 72 61 63  74 65 72 2e 0d 0a 45 43  |e character...EC|
00001ed0  48 4f 20 24 5f 20 20 20  41 20 6e 65 77 20 6c 69  |HO $_   A new li|
00001ee0  6e 65 2e 0d 0a 47 4f 54  4f 20 45 4e 44 0d 0a 3a  |ne...GOTO END..:|
00001ef0  58 43 4f 50 59 0d 0a 45  43 48 4f 20 58 43 4f 50  |XCOPY..ECHO XCOP|
00001f00  59 20 5b 64 3a 5d 5b 5c  5d 5b 70 61 74 68 5c 5d  |Y [d:][\][path\]|
00001f10  73 6f 75 72 63 65 5b 64  3a 5d 5b 5c 5d 5b 70 61  |source[d:][\][pa|
00001f20  74 68 5c 5d 64 65 73 74  69 6e 61 74 69 6f 6e 20  |th\]destination |
00001f30  5b 6f 70 74 69 6f 6e 5b  6f 70 74 69 6f 6e 2e 2e  |[option[option..|
00001f40  2e 5d 5d 0d 0a 45 43 48  4f 20 2e 0d 0a 45 43 48  |.]]..ECHO ...ECH|
00001f50  4f 20 4f 50 54 49 4f 4e  53 0d 0a 45 43 48 4f 20  |O OPTIONS..ECHO |
00001f60  2d 2d 2d 2d 2d 2d 2d 0d  0a 45 43 48 4f 20 2f 41  |-------..ECHO /A|
00001f70  20 20 20 20 20 20 20 20  20 20 4f 6e 6c 79 20 63  |          Only c|
00001f80  6f 70 79 20 66 69 6c 65  73 20 74 68 61 74 20 68  |opy files that h|
00001f90  61 76 65 20 74 68 65 20  41 72 63 68 69 76 65 20  |ave the Archive |
00001fa0  61 74 74 72 69 62 75 74  65 20 73 65 74 2e 0d 0a  |attribute set...|
00001fb0  45 43 48 4f 20 2f 44 3a  64 64 2d 6d 6d 2d 79 79  |ECHO /D:dd-mm-yy|
00001fc0  20 4f 6e 6c 79 20 63 6f  70 79 20 66 69 6c 65 73  | Only copy files|
00001fd0  20 74 68 61 74 20 68 61  76 65 20 62 65 65 6e 20  | that have been |
00001fe0  63 68 61 6e 67 65 64 20  6f 6e 20 6f 72 20 61 66  |changed on or af|
00001ff0  74 65 72 20 74 68 65 20  67 69 76 65 6e 0d 0a 45  |ter the given..E|
00002000  43 48 4f 20 20 20 20 20  20 20 20 20 20 20 20 20  |CHO             |
00002010  64 61 74 65 2e 0d 0a 45  43 48 4f 20 2f 45 20 20  |date...ECHO /E  |
00002020  20 20 20 20 20 20 20 20  43 6f 70 79 20 65 6e 74  |        Copy ent|
00002030  72 79 20 73 75 62 64 69  72 65 63 74 6f 72 69 65  |ry subdirectorie|
00002040  73 20 61 73 20 77 65 6c  6c 20 61 73 20 6f 6e 65  |s as well as one|
00002050  73 20 77 69 74 68 20 66  69 6c 65 73 20 69 6e 20  |s with files in |
00002060  74 68 65 6d 2e 0d 0a 45  43 48 4f 20 2f 4d 20 20  |them...ECHO /M  |
00002070  20 20 20 20 20 20 20 20  4f 6e 6c 79 20 63 6f 70  |        Only cop|
00002080  79 20 66 69 6c 65 73 20  74 68 61 74 20 68 61 76  |y files that hav|
00002090  65 20 74 68 65 20 41 72  63 68 69 76 65 20 61 74  |e the Archive at|
000020a0  74 72 69 62 75 74 65 20  73 65 74 2e 0d 0a 45 43  |tribute set...EC|
000020b0  48 4f 20 2f 50 20 20 20  20 20 20 20 20 20 20 43  |HO /P          C|
000020c0  6f 6e 66 69 72 6d 20 65  61 63 68 20 63 6f 70 79  |onfirm each copy|
000020d0  2e 0d 0a 45 43 48 4f 20  2f 53 20 20 20 20 20 20  |...ECHO /S      |
000020e0  20 20 20 20 43 6f 70 79  20 66 69 6c 65 73 20 66  |    Copy files f|
000020f0  72 6f 6d 20 62 6f 74 68  20 74 68 65 20 67 69 76  |rom both the giv|
00002100  65 6e 20 64 69 72 65 63  74 6f 72 79 20 61 6e 64  |en directory and|
00002110  20 66 72 6f 6d 20 69 74  73 20 73 75 62 64 69 2d  | from its subdi-|
00002120  0d 0a 45 43 48 4f 20 20  20 20 20 20 20 20 20 20  |..ECHO          |
00002130  20 20 20 72 65 63 74 6f  72 69 65 73 2e 0d 0a 45  |   rectories...E|
00002140  43 48 4f 20 2f 56 20 20  20 20 20 20 20 20 20 20  |CHO /V          |
00002150  56 65 72 69 66 79 20 65  61 63 68 20 63 6f 70 79  |Verify each copy|
00002160  20 61 73 20 69 74 20 69  73 20 77 72 69 74 74 65  | as it is writte|
00002170  6e 2c 20 74 6f 20 63 68  65 63 6b 20 74 68 61 74  |n, to check that|
00002180  20 74 68 65 20 6e 65 77  20 66 69 6c 65 0d 0a 45  | the new file..E|
00002190  43 48 4f 20 20 20 20 20  20 20 20 20 20 20 20 20  |CHO             |
000021a0  69 73 20 69 64 65 6e 74  69 63 61 6c 20 74 6f 20  |is identical to |
000021b0  74 68 65 20 6f 72 69 67  69 6e 61 6c 2e 0d 0a 45  |the original...E|
000021c0  43 48 4f 20 2f 57 20 20  20 20 20 20 20 20 20 20  |CHO /W          |
000021d0  57 61 69 74 20 75 6e 74  69 6c 20 61 20 6b 65 79  |Wait until a key|
000021e0  20 69 73 20 70 72 65 73  73 65 64 20 62 65 66 6f  | is pressed befo|
000021f0  72 65 20 73 74 61 72 74  69 6e 67 20 74 68 65 20  |re starting the |
00002200  63 6f 70 79 2e 0d 0a 47  4f 54 4f 20 45 4e 44 0d  |copy...GOTO END.|
00002210  0a 3a 52 45 50 4c 41 43  45 0d 0a 45 43 48 4f 20  |.:REPLACE..ECHO |
00002220  52 45 50 4c 41 43 45 20  73 6f 75 72 63 65 2d 64  |REPLACE source-d|
00002230  72 69 76 65 3a 5b 5c 5d  5b 70 61 74 68 5c 5d 66  |rive:[\][path\]f|
00002240  69 6c 65 6e 61 6d 65 2e  66 69 6c 65 74 79 70 65  |ilename.filetype|
00002250  20 74 61 72 67 65 74 2d  64 72 69 76 65 3a 5b 5c  | target-drive:[\|
00002260  5d 5b 70 61 74 68 5d 5b  0d 0a 45 43 48 4f 20 20  |][path][..ECHO  |
00002270  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
*
000022a0  20 20 20 20 6f 70 74 69  6f 6e 5b 6f 70 74 69 6f  |    option[optio|
000022b0  6e 2e 2e 2e 5d 5d 0d 0a  45 43 48 4f 20 2e 0d 0a  |n...]]..ECHO ...|
000022c0  45 43 48 4f 20 4f 50 54  49 4f 4e 53 0d 0a 45 43  |ECHO OPTIONS..EC|
000022d0  48 4f 20 2d 2d 2d 2d 2d  2d 2d 0d 0a 45 43 48 4f  |HO -------..ECHO|
000022e0  20 2f 41 20 20 20 41 64  64 20 6e 65 77 20 66 69  | /A   Add new fi|
000022f0  6c 65 73 20 74 6f 20 74  68 65 20 74 61 72 67 65  |les to the targe|
00002300  74 20 64 69 72 65 63 74  6f 72 79 2e 0d 0a 45 43  |t directory...EC|
00002310  48 4f 20 2f 44 20 20 20  52 65 70 6c 61 63 65 20  |HO /D   Replace |
00002320  6f 6e 6c 79 20 69 66 20  74 68 65 20 73 6f 75 72  |only if the sour|
00002330  63 65 20 66 69 6c 65 20  69 73 20 6d 6f 72 65 20  |ce file is more |
00002340  72 65 63 65 6e 74 2e 0d  0a 45 43 48 4f 20 2f 50  |recent...ECHO /P|
00002350  20 20 20 50 72 6f 6d 70  74 20 66 6f 72 20 63 6f  |   Prompt for co|
00002360  6e 66 69 72 6d 61 74 69  6f 6e 20 62 65 66 6f 72  |nfirmation befor|
00002370  65 20 72 65 70 6c 61 63  69 6e 67 20 61 20 74 61  |e replacing a ta|
00002380  72 67 65 74 20 66 69 6c  65 20 6f 72 20 61 64 64  |rget file or add|
00002390  69 6e 67 20 61 0d 0a 45  43 48 4f 20 20 20 20 20  |ing a..ECHO     |
000023a0  20 6e 65 77 20 73 6f 75  72 63 65 20 66 69 6c 65  | new source file|
000023b0  2e 0d 0a 45 43 48 4f 20  2f 52 20 20 20 53 65 61  |...ECHO /R   Sea|
000023c0  72 63 68 20 62 6f 74 68  20 74 68 65 20 67 69 76  |rch both the giv|
000023d0  65 6e 20 74 61 72 67 65  74 20 64 69 72 65 63 74  |en target direct|
000023e0  6f 72 79 20 61 6e 64 20  69 74 73 20 73 75 62 64  |ory and its subd|
000023f0  69 72 65 63 74 6f 72 69  65 73 20 66 6f 72 0d 0a  |irectories for..|
00002400  45 43 48 4f 20 20 20 20  20 20 6f 6c 64 20 76 65  |ECHO      old ve|
00002410  72 73 69 6f 6e 73 20 6f  66 20 74 68 65 20 66 69  |rsions of the fi|
00002420  6c 65 73 2e 0d 0a 45 43  48 4f 20 2f 53 20 20 20  |les...ECHO /S   |
00002430  52 65 70 6c 61 63 65 20  62 6f 74 68 20 72 65 61  |Replace both rea|
00002440  64 2d 77 72 69 74 65 20  61 6e 64 20 72 65 61 64  |d-write and read|
00002450  2d 6f 6e 6c 79 20 66 69  6c 65 73 2e 0d 0a 45 43  |-only files...EC|
00002460  48 4f 20 2f 77 20 20 20  57 61 69 74 20 66 6f 72  |HO /w   Wait for|
00002470  20 61 20 6b 65 79 20 74  6f 20 62 65 20 70 72 65  | a key to be pre|
00002480  73 73 65 64 20 62 65 66  6f 72 65 20 73 74 61 72  |ssed before star|
00002490  74 69 6e 67 20 72 65 70  6c 61 63 69 6e 67 20 61  |ting replacing a|
000024a0  6e 64 20 61 64 64 69 6e  67 0d 0a 45 43 48 4f 20  |nd adding..ECHO |
000024b0  20 20 20 20 20 66 69 6c  65 73 2e 0d 0a 47 4f 54  |     files...GOT|
000024c0  4f 20 45 4e 44 0d 0a 3a  50 52 49 4e 54 0d 0a 45  |O END..:PRINT..E|
000024d0  43 48 4f 20 50 52 49 4e  54 20 5b 64 3a 5d 5b 5c  |CHO PRINT [d:][\|
000024e0  5d 5b 70 61 74 68 5c 5d  66 69 6c 65 6e 61 6d 65  |][path\]filename|
000024f0  2e 66 69 6c 65 74 79 70  65 5b 5b 64 3a 5d 5b 5c  |.filetype[[d:][\|
00002500  5d 5b 70 61 74 68 5c 5d  66 69 6c 65 6e 61 6d 65  |][path\]filename|
00002510  2e 66 69 6c 65 74 79 70  65 2e 2e 2e 5d 0d 0a 45  |.filetype...]..E|
00002520  43 48 4f 20 20 20 20 20  20 20 20 20 20 20 20 20  |CHO             |
00002530  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
*
00002560  20 5b 5c 50 5d 5b 5c 43  5d 5b 5c 54 5d 0d 0a 45  | [\P][\C][\T]..E|
00002570  43 48 4f 20 2e 0d 0a 45  43 48 4f 20 4f 50 54 49  |CHO ...ECHO OPTI|
00002580  4f 4e 53 0d 0a 45 43 48  4f 20 2d 2d 2d 2d 2d 2d  |ONS..ECHO ------|
00002590  2d 0d 0a 45 43 48 4f 20  2f 43 20 20 20 52 65 6d  |-..ECHO /C   Rem|
000025a0  6f 76 65 20 74 68 69 73  20 61 6e 64 20 66 6f 6c  |ove this and fol|
000025b0  6c 6f 77 69 6e 67 20 66  69 6c 65 73 20 28 75 70  |lowing files (up|
000025c0  20 74 6f 20 74 68 65 20  6e 65 78 74 20 66 69 6c  | to the next fil|
000025d0  65 20 6c 69 73 74 65 64  20 77 69 74 68 20 74 68  |e listed with th|
000025e0  65 0d 0a 45 43 48 4f 20  20 20 20 20 20 50 20 6f  |e..ECHO      P o|
000025f0  70 74 69 6f 6e 29 20 66  72 6f 6d 20 74 68 65 20  |ption) from the |
00002600  6c 69 73 74 20 6f 66 20  66 69 6c 65 73 20 77 61  |list of files wa|
00002610  69 74 69 6e 67 20 74 6f  20 62 65 20 70 72 69 6e  |iting to be prin|
00002620  74 65 64 2e 0d 0a 45 43  48 4f 20 2f 50 20 20 20  |ted...ECHO /P   |
00002630  41 64 64 20 74 68 69 73  20 61 6e 64 20 66 6f 6c  |Add this and fol|
00002640  6c 6f 77 69 6e 67 20 66  69 6c 65 73 20 28 75 70  |lowing files (up|
00002650  20 74 6f 20 74 68 65 20  6e 65 78 74 20 66 69 6c  | to the next fil|
00002660  65 20 6c 69 73 74 65 64  20 77 69 74 68 20 74 68  |e listed with th|
00002670  65 20 2f 43 0d 0a 45 43  48 4f 20 20 20 20 20 20  |e /C..ECHO      |
00002680  6f 70 74 69 6f 6e 29 20  74 6f 20 74 68 65 20 6c  |option) to the l|
00002690  69 73 74 20 6f 66 20 66  69 6c 65 73 20 77 61 69  |ist of files wai|
000026a0  74 69 6e 67 20 74 6f 20  62 65 20 70 72 69 6e 74  |ting to be print|
000026b0  65 64 2e 0d 0a 45 43 48  4f 20 2f 54 20 20 20 53  |ed...ECHO /T   S|
000026c0  74 6f 70 20 74 68 65 20  63 75 72 72 65 6e 74 20  |top the current |
000026d0  66 69 6c 65 20 66 72 6f  6d 20 62 65 69 6e 67 20  |file from being |
000026e0  70 72 69 6e 74 65 64 2e  0d 0a 47 4f 54 4f 20 45  |printed...GOTO E|
000026f0  4e 44 0d 0a 3a 45 4e 44  0d 0a 45 58 49 54 0d 0a  |ND..:END..EXIT..|
00002700
22-07-88/HELP/BAT.m0
22-07-88/HELP/BAT.m1
22-07-88/HELP/BAT.m2
22-07-88/HELP/BAT.m4
22-07-88/HELP/BAT.m5