:: runs redmaker on ram drive :: keeps warrior directory in zip form on hard drive :: requires pkzip/pkunzip.exe @echo off set hd=D: set rd=F: if not exist %rd%\nul goto error if not exist %hd%redmaker.bas goto error copy redmaker.bas %rd%\ > nul if exist redmaker.def copy redmaker.def %rd%\ > nul if exist test.war copy test.war %rd%\ > nul if exist *.red copy *.red %rd%\ > nul if not exist %rd%\warcode\nul goto makewc deltree /y %rd%\warcode > nul :makewc if not exist warcode.zip goto runprogram md %rd%\warcode pkunzip warcode.zip %rd%\warcode > nul :runprogram %rd% cd \ qbasic /run redmaker.bas if exist redmaker.def copy redmaker.def %hd% > nul if exist test.war copy test.war %hd% > nul if exist %hd%warcode.zip del %hd%warcode.zip pkzip %hd%warcode.zip warcode\*.* > nul %hd% cls goto end :error echo edit batch and set rd and hd to valid drives :end