How to Detect a DoubleSpace Drive from a Batch File (101884)
The information in this article applies to:
- Microsoft MS-DOS operating system 6.0
- Microsoft MS-DOS operating system 6.2
- Microsoft MS-DOS operating system 6.22
This article was previously published under Q101884
This information applies to both Microsoft DoubleSpace and Microsoft
DriveSpace. For MS-DOS 6.22, use DRVSPACE in place of DBLSPACE for commands
and filenames.
SUMMARY
MS-DOS batch files cannot distinguish between compressed drives and
uncompressed drives. However, you can use the MS-DOS Debug utility to
create a program that sets an errorlevel depending on whether a drive
is compressed with DoubleSpace. An MS-DOS batch file can then test
this errorlevel to determine whether the drive is a DoubleSpace-
compressed drive.
NOTE: Microsoft Product Support Services does not provide support for
writing the Debug script or batch file discussed in this article, or
troubleshoot problems related to compiling, running or using this
program or batch file.
REFERENCES
Modification Type: | Major | Last Reviewed: | 11/19/1999 |
---|
Keywords: | KB101884 |
---|
|