Академический Документы
Профессиональный Документы
Культура Документы
Tools Used:
AUTOEXEC.BAT
@ECHO OFF
MSCDEX.EXE /D:CDDRIVER /L:X
XMSDSK.EXE 51200 R: /t /y
CTMOUSE.EXE
PATH=A:\;R:\
GOTO %CONFIG%
:TESTDISK
COPY X:\TESTDISK\*.* R:
R:\TESTDISK.EXE
GOTO DOS
:GHOST
COPY X:\GHOST\GHOST.EXE R:
R:\GHOST.EXE
GOTO DOS
:NTFS
COPY X:\NTFS\*.* R:
R:\NTFS4DOS.EXE
GOTO DOS
:RPM
COPY X:\RPM\*.* R:
R:\RPM.EXE
GOTO DOS
:DOS
ECHO X: CD DRIVE
ECHO R: RAM DRIVE
CONFIG.SYS
[MENU]
menuitem=DOS, Dos
menuitem=TESTDISK, TestDisk
menuitem=GHOST, Ghost
menuitem=NTFS, Ntfs
menuitem=RPM, Partition Manager
[DOS]
DEVICE=OAKCDROM.SYS /D:CDDRIVER /L:X
[TESTDISK]
include=DOS
[GHOST]
include=DOS
[NTFS]
include=DOS
[RPM]
include=DOS
[COMMON]
LASTDRIVE=Z
Example: You want to add Mcafee Antivirus in the bootcd, all you do is create a folder MCAFEE in the folder
CD
:MCAFEE
COPY X:\MCAFEE\*.* R:
R:\scanpm.exe /adl /all /clean
GOTO DOS
when you start your computer with this bootcd, you will get to menu where you can choose which program you
want to run. In this example we will create 50Mb Ram Disk (You will have Minimum of 64Mb Memory)
1. Dos
2. TestDisk
3. Ghost
4. Ntfs
5. Partition Manager
6. McAfee Antivirus
Enter a choice: 1
You can add as many items in the list but you are limited to 9 per screen
to add more items simply add submenu=MORE, More... (under [MENU] block)
and add [MORE] in config.sys and you can add more menuitem there