中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-12 13:08
47,811 topics / 349,897 posts / today 0 new / 48,256 members
DOS学习入门 & 精彩文章 (教学室) » Parameters for Several Commands
Printable Version  3,421 / 0
Floor1 ko20010214 Posted 2003-06-01 00:00
版主 Posts 1,628 Credits 7,296
Sender: yanglc (Having to have a nickname is really annoying), Board: DOS
Title: Parameters for Several Commands
Posted at: BBS Shuimu Tsinghua Station (Tue Sep 7 14:33:14 1999)

command /f
After displaying Abort,Retry,Fail, automatically selects one. For example, when there is no disk in the floppy drive,
running dir a: will exit automatically

command /z
Displays errorlevel after some programs finish running

format drive: /autotest
Automatically formats the disk, without giving various prompts. Be careful when formatting floppy disks,
it will not prompt Insert new diskette for drive A:

format drive: /backup
Automatically formats the disk, only prompts for entering the label

format drive: /u
Does not save disk information during formatting, speeding it up

format drive: /z:n
Specifies the size of each cluster as n*512B, n=1, 2, 3...

format drive: /select
Saves disk information, similar to the mirror command in older versions

mem /a
Displays Available space in High Memory Area

fdisk /mbr
Rewrites the Master Boot Record; getting rid of Linux's lilo depends on it.

fdisk /fprmt
Use fat32 on hard disks smaller than 512M

fdisk x /pri:n1 /ext:n2 /log:n3
Partitions hard disk x; the primary partition size is n1M, the extended partition size is n2M,
and the logical drive size is n3M. I haven't dared to try it; if you're brave, try it yourself.
--
http://yqy.sdau.edu.cn

※ Source: ·BBS Shuimu Tsinghua Station bbs.net.tsinghua.edu.cn·

(This article was copied using the S-Term article copy script)
==================================================
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023