![]() ![]() ![]() ![]() | Table Of Contents | Index |
If you are going to run a shell like COMMAND.COM under MarxMenu it is sometimes better to use DROPTO.BAT which is created during the install process. DropTo allows you to jump from the temporary batch file that MarxMenu creates to DropTo, which deletes the temporary batch file and executes the rest of the command line.
Usage: DROPTO %0 COMMAND.COMIf you are using DropTo inside a MarxMenu, the %0 is automatically added for you.
Example:Here's how it works:
OnKey 'C' DropTo COMMAND.COMDROPTO.BAT ---------- DEL %1 SET KSV= SET MXCMD= %2 %3 %4 %5 %6 %7 %8 %9
$MX00000.BAT <------deletes this file--------+ ------------ | DROPTO %0 COMMAND.COM ------------> DEL %1 >-+ SET KSV= SET MXCMD= %2 executes COMMAND.COM--> %2 %3 %4 %5 %6 %7 %8 %9The advantages are that the temporary batch file is eliminated so if the user never returns to the menu, it leaves no temporary file to clutter up the drive. Also, DROPTO.BAT becomes the pending batch file that is running rather than the temporary file.
![]() ![]() ![]() ![]() | Table Of Contents | Index |
|