Delete sandbox on shutdown

Ideas for enhancements to the software
Posts: 74
Joined: Tue Sep 20, 2011 12:15 am

Post by thewul » Sun Apr 07, 2013 2:07 am

Oh, by the way, fwiw: I have discovered that some times long foldernames / trees mostly being created when browsing, e.g.


are not deleted, even when using /s /q.
(access denied or something).

4NT.exe (JPSoft) has an additional /k parameter that is taking care of such issues (so: /s /k /q).
However, /k is missing the default cmd.

Sofar(!) powershell helped me out here.

So, my DeleteSandBox.cmd file reads as follows:

Code: Select all

Powershell.exe cmd /c "RMDIR /s /q G:\Sandbox\<yourname>l\DefaultBox"

Dragged that file to start/startup folder.

Maybe this delete sandbox feature (at startup, or exit) will be implemented in v4.0 ?? :-)


Posts: 74
Joined: Tue Sep 20, 2011 12:15 am

Post by thewul » Sat Apr 20, 2013 12:47 am


found out that the .cmd file, at startup, did not delete the folder structure.

it is a bit of a workaround, but the below works fine with me now

1. create a batchfile, e.g. DeleteMySandBox.bat
2. contents: just one line: DeleteSandBox.cmd

contents of the .cmd file:

Powershell.exe cmd /c "RMDIR /s /q G:\Sandbox\<yourname>l\DefaultBox"

where g:\ is the drive where your sandbox is located.

3. copy the .bat file to the startup folder.


Posts: 22
Joined: Wed Oct 19, 2011 11:35 am

Post by tomazyk » Sun Oct 20, 2013 1:08 pm

I know it's not final solution, but if you have a lot of RAM, you can create Ramdisk and put your container folder on it. At each shutdown everything is gone. That's how I've set it up on my system.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests