Printable Version of Topic

Click here to view this topic in its original format

Boot Land _ Submit your program _ RUNFTEMP

Posted by: Moon Goon Sep 21 2007, 04:56 PM

This is my hacked-up method for running those tools that need to be on the hard drive but you don't want to leave them there. Basically, RUNFTEMP.EXE is an SFX archive that you can open with http://www.7-Zip.org/. Once opened you'll notice a folder called APPTEMP. You should put the files from your program of choice in APPTEMP (not the program directory, just all the files and folders in it). In order for RUNFTEMP.EXE to call your program you need to add RFT_ to the main executable filename (i.e. RFT_Example.exe). After you save your work that's it! When you execute RUNFTEMP.EXE it will dump the APPTEMP folder to the %TEMP% directory and run your main executable. Once the main executable is closed it will delete almost all traces of your program (a randomly named .tmp file will be moved to the RECYCLER folder).

I have included a RFT_Example.exe and RFT_Example.dat file in the archive just to show that the program works. Definitely delete those two files if you actually wanna use this hack. In the APPTEMP folder you'll find two critical files called RUNDEL.EXE and LAUNCH.BAT. RUNDEL.EXE does much of the folder management and cleanup. LAUNCH.BAT actually launches your RFT_[whatever].exe so you can add extra batch commands if needed. You can safely rename RUNFTEMP.EXE to whatever suites yer tastes.

You can run multiple run-from-temp programs without conflict as the APPTEMP, LAUNCH.BAT and RUNDEL.EXE get randomly renamed for each session.

I made the SFX initially in http://www.rarlab.com/ and added files with http://www.7-zip.org/. RUNDEL.EXE was made in http://www.autoitscript.com/autoit3/. Example.exe is a quick trifle whipped up in http://www.gamemaker.nl/old.html.

As always, my programs may eat your dog and put your cat into a very uncomfortable kitty sweater. *shrugs* This worked for me on XP and 2003 though. On 2000 it also leaves behind an empty randomly named folder in %TEMP%.

http://moongoon.boot-land.net/RUNFTEMP.EXE

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)