This page is edited from the 1cmdfaq.txt faq-file contained in
my tscmd.zip
command line interface (CLI) collection. That zipped file has much
additional material, including a number of detached .cmd script
files. It is recommended that you also get the zipped version as a
companion.
Please see "
The Description and
the Index page" for the conditions of usage and other such
information.
112} Help, an old program fails to run since I have no floppy drive.
Q: I am trying to run an old program. But it fails since the program
requires a disk present in the floppy drive A: which I do not have.
A: This trick sometimes works if the old program just wants to have
a floppy present to write to
@echo off & setlocal enableextensions
mkdir C:\_A
subst A: C:\_A
TheProgram
subst /d A:
rmdir C:\_A
endlocal & goto :EOF