Page 2 of 2

Posted: Sun Apr 07, 2013 2:07 am
by thewul
Oh, by the way, fwiw: I have discovered that some times long foldernames / trees mostly being created when browsing, e.g.

G:\Sandbox\UserName\DefaultBox\user\current\AppData\Local\Mozilla\Firefox\Profiles\yht3c5v6.default\Cache\D\B5

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"
exit

Dragged that file to start/startup folder.

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

=

Posted: Sat Apr 20, 2013 12:47 am
by thewul
-final-

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"
exit

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

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

=

Posted: Sun Oct 20, 2013 1:08 pm
by tomazyk
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.