Site hosted by Angelfire.com: Build your free website today!



You can pause an AUTOEXEC.BAT file by inserting a PAUSE command,
but there is no equivalent command for CONFIG.SYS. Good news! You can make one with the following
DEBUG script, which creates a small device driver named PAUSE.SYS that pauses for a key press when
it is loaded with PUASE.sys that pauses for a key press when it is loaded with a DEVICE = statement in
CONFIG.SYS, start by typing the following lines into a text file called PAUSE.SCR:


Please view the following script in source

N PAUSE.SYS
E 0100 FF FF FF FF 00 80 3A 00
E 0108 45 00 50 41 55 53 45 20
E 0110 20 20 00 00 00 00 0D 0A
E 0118 50 72 65 73 73 20 61 6E
E 0120 79 20 6B 65 79 20 74 6F
E 0128 20 63 6F 6E 74 69 6E 75
E 0130 65 20 2E 20 2E 20 2E 0D
E 0138 0A 00 2E 89 1E 12 00 2E
E 0140 8C 06 14 00 CB 9C 50 56
E 0148 57 1E 55 0E 1F C4 3E 12
E 0150 00 26 80 7D 02 00 75 12
E 0158 E8 1C 00 26 C6 45 0D 00
E 0160 26 C7 45 0E 00 00 26 8C
E 0168 4D 10 26 C7 45 03 00 01
E 0170 5D 1F 5F 5E 58 9D CB BE
E 0178 16 00 FC AC 08 C0 74 06
E 0180 B4 0E CD 10 EB F5 B4 00
E 0188 CD 16 C3
RCX
8B
W
Q


Compile the script to create PAUSE.SYS. To use PAUSE.SYS, add the command
DEVICE=C:\DRIVERS\PAUSE.SYS
at the point in CONFIG.SYSY where you wnat to pause processing.
If PAUSE.SYS is stored somewhere other than C:\DRIVERS,
modify the path accordingly.


GO BACK TO DEBUG HOME PAGE


RETURN TO HOME PAGE