⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 bat.def

📁 是一个很好的编辑器
💻 DEF
📖 第 1 页 / 共 4 页
字号:
Rem     Specifies the volume label. The /V switch is not compatible with the /8 switch.
Rem /Q  Specifies a quick format of a disk. With this switch, FORMAT deletes the
Rem     file allocation table (FAT) and the root directory of a previously
Rem     formatted disk, but does not scan the disk for bad areas.
Rem /U   Specifies an unconditional format of a disk. Unconditional formatting
Rem     destroys all existing data on a disk and prevents you from later
Rem     "unformatting" the disk. You should use /U if you have received read and
Rem     write errors during use of a disk. For information about unformatting a
Rem     disk, see the UNFORMAT command.
Rem /F:size
Rem     Specifies the size of the floppy disk to format. When possible, use this
Rem     switch instead of the /T and /N switches. Use one of the following
Rem     values for size:
Rem        160  160K, single-sided, double-density, 5.25-inch disk
Rem        180  180K, single-sided, double-density, 5.25-inch disk
Rem        320  320K, double-sided, double-density, 5.25-inch disk
Rem        360  360K, double-sided, double-density, 5.25-inch disk
Rem        720  720K, double-sided, double-density, 3.5-inch disk
Rem       1200  1.2-MB, double-sided, quadruple-density, 5.25-inch disk
Rem       1440  1.44-MB, double-sided, quadruple-density, 3.5-inch disk
Rem       2880  2.88-MB, double-sided, extra-high-density, 3.5-inch disk
Rem /B  Reserves space for the system files IO.SYS and MSDOS.SYS (as hidden
Rem     files) on a newly formatted disk. In previous versions of MS-DOS, it was
Rem     necessary to reserve this space before using the SYS command to copy the
Rem     system files to the disk. This switch is maintained in MS-DOS version
Rem     6.0 for compatibility reasons only.
Rem /S  Copies the operating system files IO.SYS, MSDOS.SYS, and COMMAND.COM
Rem     from your system's startup drive to a newly formatted disk that you can
Rem     use as a system disk. If FORMAT cannot find the operating system files,
Rem     it prompts you to insert a system disk.
Rem /T:tracks
Rem     Specifies the number of tracks on the disk. When possible, use the /F
Rem     switch instead of this switch. If you use the /T switch, you must also
Rem     use the /N switch. These two switches provide an alternative method of
Rem     specifying the size of the disk being formatted. You cannot use the /F
Rem     switch with the /T switch.
Rem /N:sectors
Rem     Specifies the number of sectors per track. When possible, use the /F
Rem     switch instead of this switch. If you use the /N switch, you must * also
Rem     use the /T switch. These two switches provide an alternative method of
Rem     specifying the size of the disk being formatted. You cannot use the /F
Rem     switch with the /N switch.
Rem /1  Formats a single side of a floppy disk. /4
Rem     Formats a 5.25-inch, 360K, double-sided, double-density floppy disk on a
Rem     1.2-MB disk drive. Some 360K drives cannot reliably read disks formatted
Rem     with this switch. When used with the /1 switch, this switch formats a
Rem     5.25-inch, 180K, single-sided floppy disk.
Rem /8  Formats a 5.25-inch disk with 8 sectors per track. This switch formats a
Rem     floppy disk to be compatible with MS-DOS versions earlier than 2.0.
Rem /C  Retests bad clusters. By default, if a drive contains clusters that have
Rem     been marked as "bad", FORMAT does not retest the clusters; it simply
Rem     leaves them marked "bad". Use the /C switch if you want FORMAT to retest
Rem     all bad clusters on the drive. (In previous versions of MS-DOS, FORMAT
Rem     always retested any bad clusters.)
[GOTO | Jump to the specified label]
GOTO |(label)
[GRAFTABL | Loads a table of character data into memory]
GRAFTABL |[(code page)]
GRAFTABL [status]
[GRAPHICS | Print contents of a graphics screen display]
GRAPHICS |[printer type][profile] [/B][/R][/LCD][/PB:(id)] [/C][/F][/P(port)]
[GRAPHICS1 |d Print contents of a graphics screen display]
GRAPHICS |[printer type][profile] [/B][/R][/LCD][/PB:(id)] [/C][/F][/P(port)]
Rem Provides a way to print contents of a graphics screen display.
Rem Parameters
Rem type
Rem   Specifies the type of printer:
Rem   COLOR1      An IBM Personal Computer Color Printer with black ribbon
Rem   COLOR4      An IBM Personal Computer Color Printer with RGB ribbon
Rem   COLOR8      An IBM Personal Computer Color Printer with CMY ribbon
Rem   HPDEFAULT   Any Hewlett-Packard PCL printer
Rem   DESKJET     A Hewlett-Packard DeskJet printer
Rem   GRAPHICS    An IBM Personal Graphics Printer, IBM Proprinter, or IBM Quietwriter
Rem   GRAPHICSWIDE An IBM Personal Graphics Printer with an 11-inch-wide carriage
Rem   LASERJET    A Hewlett-Packard LaserJet printer
Rem   LASERJETII  A Hewlett-Packard LaserJet II printer
Rem   PAINTJET    A Hewlett-Packard PaintJet printer
Rem   QUIETJET    A Hewlett-Packard QuietJet printer
Rem   QUIETJETPLUS  A Hewlett-Packard QuietJet Plus printer
Rem   RUGGEDWRITER  A Hewlett-Packard RuggedWriter printer
Rem   RUGGEDWRITERWIDE   A Hewlett-Packard RuggedWriterwide printer
Rem   THERMAL     An IBM PC-convertible Thermal Printer
Rem   THINKJET    A Hewlett-Packard ThinkJet printer [
Rem /R  Prints the image as it appears on the screen (white characters on a
Rem     black background) rather than reversed (black characters on a white
Rem     background). The latter occurs by default.
Rem /B  Prints the background in color. This switch is valid for COLOR4 and
Rem     COLOR8 printers.
Rem /LCD
Rem     Prints an image by using the liquid crystal display (LCD) aspect ratio
Rem     instead of the CGA aspect ratio
[HELP | Displays information about a DOS command]
HELP |[command] [/B][/G][/H][/NOHI]
[HELP1 |d Displays information about a DOS command]
HELP |[command] [/B][/G][/H][/NOHI]
Rem Displays information about a DOS command.
Rem /B  Allows use of a monochrome monitor with a color graphics card.
Rem /G  Provides the fastest update of a CGA screen.
Rem /H  Displays the maximum number of lines possible for your hardware.
Rem /NOHI
Rem     Allows the use of a monitor without high-intensity support.
[IF | Conditional operations in batch processing]
IF |[NOT] EXIST filename (command) [parameters]
IF [NOT] (string1)==(string2) (command) [parameters]
IF [NOT] ERRORLEVEL (number) (command) [parameters]
Rem Allows for conditional operations in batch processing.
[INCLUDE | Allow use the commands from one CONFIG.SYS block]
INCLUDE=|blockname
[INSTALL | Load memory-resident programs]
INSTALL=|[d:][\path]filename [parameters]
[INTERLINK | Connects two computers via parallel or serial ports]
INTERLINK |[client[:]=[server][:]]
[INTERSVR | Starts the Interlink server]
INTERSVR |[d:][...][/X=d:][...] [/LPT:[n|address]] [/COM:[n|address]][/baud:rate] [/B][/V]
[INTERSVR1 |d Starts the Interlink server]
INTERSVR |[d:][...][/X=d:][...] [/LPT:[n|address]] [/COM:[n|address]][/baud:rate] [/B][/V]
INTERSVR /RCOPY
Rem Starts the Interlink server.
Rem /X=drive:
Rem     Specifies the letter(s) of drive(s) that will not be redirected. By
Rem     default, all drives are redirected.
Rem /LPT:[n|address]
Rem     Specifies a parallel port to use. The n parameter specifies the number
Rem     of the parallel port. The address parameter specifies the address of the
Rem     parallel port. If you omit n or address, the Interlnk server uses the
Rem     first parallel port that it finds connected to the client. If you
Rem     specify the /LPT switch and omit the /COM switch, the server searches
Rem     only for parallel ports. By default, all parallel and serial ports are
Rem     scanned.
Rem /COM:[n|address]
Rem     Specifies a serial port to use. The n parameter specifies the number of
Rem     the serial port. The address parameter specifies the address of the
Rem     serial port. If you omit n or address, the Interlnk server searches all
Rem     serial ports and uses the first port that it finds connected to the
Rem     client. If you specify the /COM switch and omit the /LPT switch, the
Rem     server searches only for serial ports. By default, all parallel and
Rem     serial ports are scanned.
Rem /BAUD:rate
Rem     Sets a maximum serial baud rate. Valid values for rate are 9600, 19200,
Rem     38400, 57600, and 115200. The default value is 115200.
Rem /B  Displays the Interlnk server screen in black and white. Use this switch
Rem     if you have problems reading your monochrome monitor.
Rem /V  Prevents conflicts with a computer's timer. Use this switch if you have
Rem     a serial connection between computers and one of them stops running when
Rem     you use Interlnk to access a drive or printer port.
Rem /RCOPY
Rem     Copies Interlnk files from one computer to another, provided that the
Rem     computers are connected with a 7-wire, null-modem serial cable and that
Rem     the <MODERem command is available on the computer where you are installing
Rem     Interlnk.
[JOIN | Join disk of another content to directory]
JOIN |d: [d:path]
JOIN d: [/D]
[KEYB | Loads support for non US keyboards]
KEYB |[xx][,][yyy][,][d:][path]filename [/E][/ID:(number)]
[LABEL | Changes volume label for a disk]
LABEL |[d:][volume label]
[LASTDRIVE | Set the maximum number of drives]
LASTDRIVE=|(drive letter)
[LOADFIX | Loads program above the first 64K]
LOADFIX |[d:][path]filename [parameters]
[LOADHIGH | Loads memory resident application into reserved area of memory]
LOADHIGH |(LH) [d:][path]filename [parameters]
[MEM | Displays amount of installed and available memory]
MEM |[/program|/debug|/classify|/free|/module(name)] [/page]
[MEMMAKER | Program lets you optimize your computer's memory]
MEMMAKER |[/B][/batch][/session][/swap:d] [/T][/undo][/W:size1,size2]
[MENUCOLOR | Set the colors that will be used by DOS menu]
MENUCOLOR=|textcolor,[background]
[MENUDEFAULT | Sets the startup configuration]
MENUDEFAULT=|blockname, [timeout]
[MENUITEM | Defines menu item in Config.SYS]
MENUITEM=|blockname, [menutext]
[MIRROR | Saves information that can be used to recover deleted files]
MIRROR |[d:]path [d:] path [...]
MIRROR [d1:][d2:][...] [/T(drive)(files)] [/partn][/U][/1]
[MD | Creates a new subdirectory]
MD |[d:]path
[MODE | Sets mode of operation for devices or communications]
MODE |n
MODE LPT#[:][n][,][m][,][P][retry]
MODE [n],m[,T]
MODE (displaytype,linetotal)
MODE COMn[:]baud[,][parity][,][databits][,][stopbits][,][retry]
MODE LPT#[:]=COMn [retry]
MODE CON[RATE=(number)][DELAY=(number)]
MODE (device) CODEPAGE PREPARE=(codepage) [d:][path]filename
MODE (device) CODEPAGE PREPARE=(codepage list) [d:][path]filename
MODE (device) CODEPAGE SELECT=(codepage)
MODE (device) CODEPAGE [/STATUS]
MODE (device) CODEPAGE REFRESH
Rem Sets mode of operation for devices or communications.
[MORE | Sends output to console, one screen at a time]
MORE |(filename or command)
[MOVE | Moves one or more files to specified the location]
MOVE |[/Y|/-Y] [d:][path]filename[,[d:][path]filename[...]] destination
[MSBACKUP | Backup or restore one or more files]
MSBACKUP |[setupfile] [/BW|/LCD|/MDA]
[MSCDEX | Gain access to CD-ROM drives]
MSCDEX |/D:driver [/D:driver2. . .] [/E][/K][/S][/V][/L:letter] [/M:number]
[MSCDEX1 |d Gain access to CD-ROM drives]
MSCDEX |/D:driver [/D:driver2. . .] [/E][/K][/S][/V][/L:letter] [/M:number]
Rem Used to gain access to CD-ROM drives (new with DOS Version 6).
Rem /E  Specifies that the CD-ROM driver be allowed to use expanded memory, if
Rem     available, to store sector buffers.
Rem /K  Specifies that MS-DOS should recognize CD-ROM volumes encoded in Kanji.
Rem     By default, MS-DOS does not recognize Kanji CD-ROM volumes.
Rem /S  Enables sharing of CD-ROM drives on MS-NET or Windows for Workgroups
Rem     servers.
Rem /V  Directs MSCDEX to display memory statistics when it starts.
Rem /L:letter
Rem     Specifies the drive letter to assign to the first CD-ROM drive. If you
Rem     have more than one CD-ROM drive, MS-DOS assigns additional CD-ROM drives
Rem     subsequent available drive letters.
Rem /M:number
Rem     Specifies the number of sector buffers.
[MSD | Detailed technical computer information]
MSD |[/B][/I]
MSD [/I] [/F[d:][path]filename [/P[d:][path]filename [/S[d:][path]filename
[NLSFUNC | Load a file with country-specific information]
NLSFUNC |[d:][path]filename
[NUMLOCK | Specify the state of the NumLock key]
NUMLOCK=|on|off
[PATH | Sets directories that will be searched for programs]
PATH |[d:]path[;][d:]path[...]
[PAUSE | Suspends execution of a batch file until a key is pressed]
PAUSE |[comment]
[POWER | Turn power management]
POWER |[adv:max|reg|min]|std|off]
[PRINT | Queues and print file(s)]
PRINT |[/B:(buffersize)] [/D:(device)] [/M:(maxtick)] [/Q:(value] [/S:(timeslice)][/U:(busytick)] [/C][/P][/T] [d:][path][filename]
[PRINT1 |d Queues and print file(s)]
PRINT |[/B:(buffersize)] [/D:(device)] [/M:(maxtick)] [/Q:(value] [/S:(timeslice)][/U:(busytick)] [/C][/P][/T] [d:][path][filename]
Rem Queues and prints data files.
Rem /D:device
Rem     Specifies the name of the print device. Valid values for parallel ports
Rem     are LPT1, LPT2, and LPT3. Valid values for serial ports are COM1, COM2,
Rem     COM3, and COM4. The default value is LPT1, which is also called PRN. The
Rem     /D switch must precede any filename used on the command line.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -