home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / pc / doshelp / helpsb.zoo / help / format / summary.hlp < prev   
Encoding:
Text File  |  1989-01-01  |  2.6 KB  |  54 lines

  1.                            FORMAT
  2.  
  3. FORMAT is an external command that destroys all existing files on a disk or
  4. partition of a hard disk (if any), and formats the disk to prepare it for 
  5. future use. FORMAT won't work for disks on another computer in a network, 
  6. virtual disks, or disks defined by JOIN, ASSIGN, or SUBST. The NEW_TERMS 
  7. DISKETTE topic lists diskette capacities.
  8.  
  9.     FORMAT [d:][/V][/S][/4]
  10.                        [/1][/8][/B]        [ancient DOS]
  11.                        [/C][/H][/N:x][/T:y]    [new DOS 3.2]
  12.                        [/F:z] [/SELECT]    [new DOS 4.0]
  13.  
  14. d: specifies the drive letter to be formatted. If not specified, the default 
  15.     drive will be used.
  16.  
  17. /V causes FORMAT to pause and ask you for an optional volume label. (If you
  18.     forget to use /V on the FORMAT command, you can execute LABEL later. 
  19.     DOS 4.0 allows /V:label, so FORMAT doesn't need to pause and ask.)
  20.  
  21. /S causes FORMAT to copy the system files and COMMAND.COM to the disk after
  22.     formatting it. It is important that the system files be in the locations
  23.     FORMAT copies them to. (If you forget to use /S on the FORMAT command, you 
  24.     can execute SYS later, provided the disk is empty.) [Not supported on OS/2]
  25.  
  26. /4 attempts to format a double-sided diskette in a high-capacity 5 ¼" 
  27.    diskette drive. It succeeds occasionally. Not recommended.
  28.  
  29. /1 format a 5 ¼" single-sided diskette with 9 sectors/track, unless /8 used.
  30.     [Not supported on OS/2] 
  31.  
  32. /8 format a 5 ¼" diskette with 8 sectors/track . The default is 9.
  33.     [Not supported on OS/2]
  34.  
  35. /B leaves room on the 5 ¼" diskette for the system files, but does not copy 
  36.     them to the disk. /B implies /8. [Not supported on OS/2]
  37.  
  38. /C clears existing data from the disk, but does not write formatting
  39.     information on the disk. (Not present on all versions of DOS.)
  40.  
  41. /H [new DOS 3.2] or /SELECT [new DOS 4.0] causes FORMAT to format the disk 
  42.     without waiting for ENTER to be pressed. A dangerous but useful option in 
  43.     BATCH files. (Not present on all versions of DOS.)
  44.  
  45. /N:x and /T:y are used to format a diskette with a non-standard number of
  46.     sectors (x) and tracks (y). A common use of /N and /T is to format a
  47.     double-sided diskette in a 3 ½" high-capacity drive, using x=9 and y=80.
  48.     See the NEW_TERMS DISKETTE topic for valid sector and track combinations.
  49.  
  50. /F:z On DOS 4.0 systems, and some earlier systems, /F:z can be used instead
  51.     of /N and /T to format a diskette. z is used to specify the capacity of
  52.     the diskette to be formatted. See the NEW_TERMS DISKETTE topic for a list
  53.     of valid diskette capacities.   
  54.