Temp directory that is empty on reboot

  • Thread starter Thread starter WhiteTea
  • Start date Start date
W

WhiteTea

I am looking for ideas.

I want some directory or other way to put work stuff in that won't be
there on reboot.
(That way I don't have to manually delete the files.)

Thanks,
Andy
 
In WhiteTea typed on Wed, 28 Jan 2009 13:10:23 -0800 (PST):
I am looking for ideas.

I want some directory or other way to put work stuff in that won't be
there on reboot.
(That way I don't have to manually delete the files.)

Thanks,
Andy

Lots of ideas!

1) Run a batch file to delete all files in a folder.

2) Get MS EWF (it is sort of free, just Google it) which blocks all writes
and saves them to the RAM. And as default, everything done on that computer
becomes history and totally gone when you switch off the power. You can
override this feature too.

3) There are lots of isolation programs like Mojopac, Sandboxie, etc.

--
Bill
2 Gateway MX6124 - Windows XP SP2
3 Asus EEE PC 701G4 ~ 2GB RAM ~ 16GB-SDHC
2 Asus EEE PC 702G8 ~ 1GB RAM ~ 16GB-SDHC
Windows XP SP2 ~ Xandros Linux - Puppy - Ubuntu
 
WhiteTea said:
I am looking for ideas.

I want some directory or other way to put work stuff in that won't be
there on reboot.
(That way I don't have to manually delete the files.)

Thanks,
Andy

You could first create a directory to store those files. And then make a
..bat (batch) file to erase everything in that folder upon rebooting, by
putting that .bat file (or a shortcut to it) in the windows startup folder.
 
WhiteTea said:
I am looking for ideas.

I want some directory or other way to put work stuff in that won't be
there on reboot.
(That way I don't have to manually delete the files.)

Thanks,
Andy

Try this:
1. Click Start / Run
2. Type this: "%UserProfile%\Start Menu\Programs\Startup\Logon.bat"
3. Click OK
4. Allow a new file to be created.
5. Type these lines:
@echo off
set Folder=%UserProfile%\Desktop\Andy's Stuff
if exist "%Folder%" rd /s /q "%Folder%"
md "%Folder%"
6. Save & close the file.

Each time you log on, the folder "Andy's Stuff" will be deleted and
recreated. Personally I think that this is not a good idea. If you put some
files into this folder and if your machine crashes then you will lose the
lot on the following reboot. Still - it's your machine.
 
Try this:
1. Click Start / Run
2. Type this: "%UserProfile%\Start Menu\Programs\Startup\Logon.bat"
3. Click OK
4. Allow a new file to be created.
5. Type these lines:
    @echo off
    set Folder=%UserProfile%\Desktop\Andy's Stuff
    if exist "%Folder%" rd /s /q "%Folder%"
    md "%Folder%"
6. Save & close the file.

Each time you log on, the folder "Andy's Stuff" will be deleted and
recreated. Personally I think that this is not a good idea. If you put some
files into this folder and if your machine crashes then you will lose the
lot on the following reboot. Still - it's your machine.

Thanks for all the ideas from all the posters.

I found a ram drive that works in XP.

I found one here and am testing it now with XP Pro SP 2.
Looking very good so far.

http://www.arsoft-online.com/index.php?option=com_remository&Itemid=4....

Andy
 
In WhiteTea typed on Wed, 28 Jan 2009 15:13:47 -0800 (PST):
Thanks for all the ideas from all the posters.

I found a ram drive that works in XP.

I found one here and am testing it now with XP Pro SP 2.
Looking very good so far.

http://www.arsoft-online.com/index.php?option=com_remository&Itemid=4...

Andy

I love RAMDRIVES! Although the one people like most seems to be called
"gavotramdisk.zip". If the one you are trying doesn't work out, you might
want to get that one.

--
Bill
2 Gateway MX6124 - Windows XP SP2
3 Asus EEE PC 701G4 ~ 2GB RAM ~ 16GB-SDHC
2 Asus EEE PC 702G8 ~ 1GB RAM ~ 16GB-SDHC
Windows XP SP2 ~ Xandros Linux - Puppy - Ubuntu
 
Pegasus said:
Try this:
1. Click Start / Run
2. Type this: "%UserProfile%\Start Menu\Programs\Startup\Logon.bat"
3. Click OK
4. Allow a new file to be created.
5. Type these lines:
@echo off
set Folder=%UserProfile%\Desktop\Andy's Stuff
if exist "%Folder%" rd /s /q "%Folder%"
md "%Folder%"
6. Save & close the file.

Each time you log on, the folder "Andy's Stuff" will be deleted and
recreated. Personally I think that this is not a good idea. If you put
some
files into this folder and if your machine crashes then you will lose the
lot on the following reboot. Still - it's your machine.

I think he'd be better off using my less invasive approach (with the
erase.bat file, called up via the windows startup folder)
 
The date and time was Wednesday, January 28, 2009 1:28:34 PM, and on a
whim, Pegasus (MVP) pounded out on the keyboard:
Try this:
1. Click Start / Run
2. Type this: "%UserProfile%\Start Menu\Programs\Startup\Logon.bat"
3. Click OK
4. Allow a new file to be created.
5. Type these lines:
@echo off
set Folder=%UserProfile%\Desktop\Andy's Stuff
if exist "%Folder%" rd /s /q "%Folder%"
md "%Folder%"
6. Save & close the file.

Each time you log on, the folder "Andy's Stuff" will be deleted and
recreated. Personally I think that this is not a good idea. If you put some
files into this folder and if your machine crashes then you will lose the
lot on the following reboot. Still - it's your machine.

He could hold down the Shift key which would bypass the Startup folder.
But he would have to remember that or poof!


Terry R.
 
WhiteTea

A half way house perhaps. In Internet Explorer select Tools, Internet
Options, Advanced, scroll down to find Security and check box before
Empty Temporary Internet Files folder when browser is closed.

--



Hope this helps.

Gerry
~~~~
FCA
Stourport, England
Enquire, plan and execute
~~~~~~~~~~~~~~~~~~~
 
WhiteTea

A half way house perhaps. In Internet Explorer select Tools, Internet
Options, Advanced, scroll down to find Security and check box before
Empty Temporary Internet Files folder when browser is closed.

--

Hope  this helps.

Gerry
~~~~
FCA
Stourport, England
Enquire, plan and execute
~~~~~~~~~~~~~~~~~~~

Thanks.

I want to have those files deleted in the rare instances when eye use
IE.

Andy
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top