View Single Post
Old 09-25-2015, 04:31 AM   #26453
DMcCunney
New York Editor
DMcCunney ought to be getting tired of karma fortunes by now.DMcCunney ought to be getting tired of karma fortunes by now.DMcCunney ought to be getting tired of karma fortunes by now.DMcCunney ought to be getting tired of karma fortunes by now.DMcCunney ought to be getting tired of karma fortunes by now.DMcCunney ought to be getting tired of karma fortunes by now.DMcCunney ought to be getting tired of karma fortunes by now.DMcCunney ought to be getting tired of karma fortunes by now.DMcCunney ought to be getting tired of karma fortunes by now.DMcCunney ought to be getting tired of karma fortunes by now.DMcCunney ought to be getting tired of karma fortunes by now.
 
DMcCunney's Avatar
 
Posts: 6,384
Karma: 16540415
Join Date: Aug 2007
Device: PalmTX, Pocket eDGe, Alcatel Fierce 4, RCA Viking Pro 10, Nexus 7
Quote:
Originally Posted by Katsunami View Post
Oh, I assumed you were doing this on Linux, as you mentioned Ubuntu a few times, and start and shutdown scripts. Windows does, however, have a Task Scheduler.
I dual-boot Win7 Pro and Ubuntu. This is on the Win7 side.

While you can create a ramdisk on Linux, I haven't.

And while Windows has Task Scheduler, that's not what I use. Win7 Pro includes Group Policy Editor, and GPO can define things that run on boot and on shutdown. A GPO script loads the ramdisk on boot, and another stores the contents back to zip files on shutdown.

The latter is the critical bit. I don't know of a way to set something up in Task Scheduler that happens on shutdown/reboot.

Quote:
You could also start Firefox using a batch script that opens and saves the archive as soon as Firefox starts and closes. Then you won't even need a startup or shutdown script. (Or are you doing this already? I am assuming the startup and shutdown scripts run when starting and stopping the computer.)
Correct. My scripts load the ramdisk on boot, and store back to zip files on shutdown.

And I probably could use a batch file wrapper, but it would be complicated by the fact that the same technique is applied to SeaMonkey and Thunderbird, and there are several versions of Firefox - release, developer edition, and nightly.

(Not impossible, though. I've done similar things with variables to specify targets. Hmmm...)
______
Dennis
DMcCunney is offline   Reply With Quote