DROPTO

Prev Next Home Home Table Of Contents Index

DROPTO.BAT

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.COM

If you are using DropTo inside a MarxMenu, the %0 is automatically added for you.


Example:
OnKey 'C' DropTo COMMAND.COM

DROPTO.BAT ---------- DEL %1 SET KSV= SET MXCMD= %2 %3 %4 %5 %6 %7 %8 %9

Here's how it works:


     $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 %9

The 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.

Prev Next Home Home Table Of Contents Index

Sponsors
Shopping
Forum
Forum
email
EMail
Index
Index
Home
Home