Command: shsufdrv
SHSUFDRV simulates a floppy or hard disk using an image file.
SHSUFDRV is buggy!
Syntax:
SHSUFDRV [/F[:][?]]image[,drive]... [/W] [/V] [/U] [/Q[Q]]
/F: The path to the image.
image Filename of raw disk image; '?' will ignore an invalid
image.
drive Drive letter to use (default is first available).
Options:
/W Allow images to be written.
/V Display memory usage (only at install).
/U Unload.
/Q Quiet - don't display sign-on banner.
/QQ Really quiet - don't display anything.
Comments:
Image files can be created with DISKCOPY.
No drive letter will be assigned lower than the first.
Eg: img1,E img2,D will assign to E: and F:, *not* E: and D:.
Only the drive (on the first partition of a hard disk) is simulated,
not the disk itself, and only a 512-byte sector size.
SHSUFDRV / SHSURDRV has the following ERRORLEVEL / EXITCODES:
0 On successful uninstall or this help is displayed;
1-32 The first drive assigned (A: = 1) on successful install;
255 Not able to (un)install.
Examples:
Create a diskette image:
diskcopy a: C:\example\diskette.img
shsufdrv /F?:C:\example\diskette.img /W /V
F:
dir Shows BUG: dir shows bad characters, the drive is not usable!
See also:
diskcopy
errorlevel/exitcode
shsurdrv
Copyright © 2008 W. Spiegl.
This file is derived from the FreeDOS Spec Command HOWTO.
See the file H2Cpying for copying conditions.