blog.world3.net

Making a one session temp folder in Windows

Back in the Amiga days we had a RAM disk. It was perfect for storing all kinds of temporary files as it was extremely fast and would be cleared every time the system rebooted. Windows doesn’t have anything like that.

I found a way to make something similar. I use a temporary folder on a hard drive. It’s not as fast as RAM but it is cleared on reboot by having the following script run at shutdown:

rmdir /S /Q g:\temp
mkdir g:\temp

Basically delete the directory recursively and re-create it. Simple but effective. You can assign a drive letter to the directory too.

This entry was written by mojo, posted on 30/05/2010 at 17:16, filed under windows. Bookmark the permalink. Follow any comments here with the RSS feed for this post. Post a comment or leave a trackback: Trackback URL.
« BBC Master Compact keyboard pinout
… and so it begins »

Post a Comment

Your email is never shared. Required fields are marked *

*
*

たとえ溺れても梦はゆめでしかない
  •  

    May 2010
    M T W T F S S
    « Apr   Jun »
     12
    3456789
    10111213141516
    17181920212223
    24252627282930
    31  
  • Meta

    • Log in
    • Entries RSS
    • Comments RSS
    • WordPress.org
  • Categories

    • audio (1)
    • avr (15)
    • electronics (25)
    • genius (4)
    • hardware (21)
    • idiots (34)
    • Internet (14)
    • law (19)
    • microcontrollers (12)
    • networking (17)
    • politics (28)
    • privacy (18)
    • Retro Adapter (5)
    • security (16)
    • software (29)
    • Uncategorized (16)
    • windows (21)
  • Archives

    • August 2010
    • July 2010
    • June 2010
    • May 2010
    • April 2010
    • March 2010
    • February 2010
    • January 2010
    • December 2009
    • November 2009
    • October 2009
    • September 2009
    • August 2009
    • July 2009
    • June 2009
    • May 2009
    • April 2009
    • March 2009
    • February 2009
    • January 2009
    • December 2008
    • November 2008
    • October 2008
    • September 2008
    • August 2008
    • July 2008
    • June 2008
    • May 2008
    • April 2008
    • March 2008
    • February 2008
    • January 2008
    • November 2005
  • Links:

    Main site: world3.net

    Electronics: denki.world3.net

WordPress | Sandbox