> RUNFTEMP, Run your program from TEMP then delete it!
Moon Goon
post Sep 21 2007, 04:56 PM
Post #1


Advanced Member
***

Group: Advanced user
Posts: 187
Joined: 1-August 06
Member No.: 95



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 7-Zip. 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 WinRAR and added files with 7-Zip. RUNDEL.EXE was made in AutoIt3. Example.exe is a quick trifle whipped up in Game Maker 6.

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
Go to the top of the page
 
+Quote Post

Posts in this topic
- Moon Goon   RUNFTEMP   Sep 21 2007, 04:56 PM


Fast ReplyReply to this topicStart new topic

Members Who Viewed Topic Today ()

 

RSS Lo-Fi Version Time is now: 2nd November 2007 - 09:00 PM

MKPortal ©2003-2006 mkportal.it