Diskman 4 Command Reference
Diskman 4 News
Diskman 4 Manual
Diskman 4 Examples
Commands are displayed in capitals for clarity. (Diskman is not sensitive to
Many commands support several sub-functions. Parameters are shown in italics.
Optional parameter are shown in [brackets]
More complex commands often include an example of usage.
Diskman supports multiple commands on a single line separated by a semicolon
A glossary is included to
explain a few common Diskman terms
Click on the links below to review the reference material available. Some
commands are not yet included in the command reference and will be documented
shortly. There is mini-documentation for each command built into Diskman - just
type DISKMAN HELP to find out more.
SHELL, CONSOLE, GOTO,
GOSUB, RETURN, CLS, SET,
DEF, SOUND, PAUSE,
CHOICE, FLAGS, HALT, IF,
LIST, EXPORT, IMPORT,
WIPE, CHECK, SCANBAD,
|Master Boot Record
TYPE, SORT, SWAP, HIDE, UNHIDE
EXIST, COPY, LIST,
FIND, START, SIZE, HOSTTABLE, FATTYPE,
DRIVE, DELETE, SCAN, LABEL, FORMAT,
LFNBK, CREATE, WIPE, ACTIVATE, DEACTIVATE, REFRESHBOOTINI, FILE,
FOLDER, EXPLORE, ATTRIB
VIEW, SIZE, GET,
The current version of Diskman uses a concept known as 'virtual drives' to
support a variety of physical mediums such as floppy disks, hard drives and
image files (which can emulate either of the other types). A drive is always a
physical device (or emulation of). This contrasts to the use of the term drive
in DOS which is better described as a Volume.
Drives are numbered sequentially starting at 1.
A volume is created by the division of a physical drive device into useable
storage units. A volume is the same as a partition
but the term is more useful as a floppy disk can also be said to contain one
volume. Volumes are numbered sequentially starting at 1.
The File Allocation Table (FAT) format was historically the filing system
supported by MSDOS. Although originally intended for a 180KB floppy disk FAT
has grown and been extended to support hard disks. FAT comes in three distinct
flavours depending on the size of the volume. FAT12 is normally used on floppy
disks and other volumes less that 10MB in size. FAT16 can be used to a maximum
size of 2048MB and FAT32 from about 100MB to theoretically 2TB. In use FAT is
simple to implement but suffers from its poor performance with large files,
large directories and larger physical drives. FAT is the only filing system
supported by MSDOS and Windows 9x.
The term VFAT is commonly misused and little understood. VFAT is an
extension to the traditional FAT file name conventions allowing long file names
whilst still remaining 99% compatible with legacy systems.
NTFS is the native filing system of Windows NT. It contains may enhancements
over the older FAT structure and is generally considered to be both more
reliable and more secure. Diskman does not currently understand NTFS format
volumes but will allow you to browse through one at a sector level.
A sector is the fundamental unit of storage on a disk. A sector is normally
considered to be 512 bytes (although 256, 1024 and 2048 also exist).
Image file (RAW and RAWP)
Diskman image files are used to contain images of either physical drives or
single volumes. Images can be considered a virtual physical drive as they can
be partitioned, formatted and otherwise manipulated in exactly the same way as
a real device. Images are actually stored as a single large file on the host
computer and may therefore be copied, emailed or burned onto CDROM.
Master Boot Record (MBR)
A master boot record is always found at the first sector of a storage device
that supports multiple partitions (like a hard disk). The MBR contains a very
small program the interrogates the partition table (stored at the very end of
the same sector) and boots the active operating system by loading and running
the code stored in that OS's boot sector.
A partition is an area of a storage device (usually a hard disk) that has been
set aside for use by one particular file system. The partition table is stored
in the Master Boot Record (MBR). Partitioning is normally carried out
with a utility like FDISK.