直接输入 sys,将得到如下提示:
FreeDOS System Installer v3.6, Aug 04 2005
Usage:
SYS [source] drive: [bootsect] [{option}]
source = A:,B:,C:\DOS\,etc., or current directory if not given
drive = A,B,etc.
bootsect = name of 512-byte boot sector file image for drive:
to write to *instead* of real boot sector
{option} is one or more of the following:
/BOTH : write to *both* the real boot sector and the image file
/BOOTONLY: do *not* copy kernel / shell, only update boot sector or image
/UPDATE : copy kernel and update boot sector (do *not* copy shell)
/OEM : indicates boot sector, filenames, and load segment to use
/OEM:FD use FreeDOS compatible settings
/OEM:EDR use Enhanced DR DOS 7+ compatible settings
/OEM:DR use DR DOS 7+ compatible settings
/OEM:PC use PC-DOS compatible settings
/OEM:MS use MS-DOS compatible settings
/OEM:W9x use MS Win9x DOS compatible settings
default is /OEM[:AUTO], select DOS based on existing files
/K name : name of kernel to use in boot sector instead of KERNEL.SYS
/L segm : hex load segment to use in boot sector instead of 60
/B btdrv : hex BIOS # of boot drive set in bs, 0=A:, 80=1st hd,...
/FORCEDRV: force use of drive # set in bs instead of BIOS boot value
/NOBAKBS : skips copying boot sector to backup bs, FAT32 only else ignored
SYS CONFIG /help
这个命令用来向一个磁盘分区传输基本DOS系统,包括更新引导扇区,显然,这个命令在 FreeDOS 里被增强了很多。
FreeDOS 的基本 DOS 系统只需2个文件,kernel.sys 和 command.com,前者是系统内核,后者是命令解释器,是 DOS 的基本 Shell。sys命令的第一个参数指定上述2个基本文件的目录,第2个参数指定目标分区。第一个参数是可省的,如果只给出一个盘符作为参数,则 sys 默认使用当前目录作为源[source],给出的盘符作为目标。“sys A:\ C:”或者“sys C:”是 sys 最基本的用法。
If no options are given, the current values are shown.
/help or /? displays this usage information.
[drive:][path]KERNEL.SYS specifies the kernel file to
modify, if not given defaults to KERNEL.SYS
option=value ... specifies one or more options and the values
to set each to. If an option is given multiple times,
the value set will be the rightmost one.
Current Options are: DLASORT=0|1, SHOWDRIVEASSIGNMENT=0|1
SKIPCONFIGSECONDS=#, FORCELBA=0|1
GLOBALENABLELBASUPPORT=0|1
BootHarddiskSeconds=0|seconds to wait作者: shutian8888 时间: 2008-2-6 19:56 学习中...