Trust No Program
Reply to topic
Use Eraserl.exe in specific location
Pintas
Guest

Reply with quote
Hello,

I've been trying to make a script to call sandboxie in a specific kind of way but i'm having some troubles in secure deleting the sandbox.

I have Sandboxie installed in \App and i don't want Eraser fully installed, so i have Eraser.dll and Eraser.exe in the same folder as Sandboxie (\App). The default sandbox folder is in \ (not C:\, just a folder before \App).

I use the following in Sandboxie.ini to secure delete:

Code:

[DefaultBox]
DeleteCommand=eraserl.exe -folder "%SANDBOX%" -subfolders -method DoD_E -queue -resultsonerror


As instructed in http://www.sandboxie.com/index.php?DeleteCommand but without the path for eraserl.exe because it is in the same folder as Sandboxie instalation.

However, when i exit sandbox i get this error from eraser:
Code:
Error: There was nothing to erase.


What am i doing wrong?

Thank you and sorry to bother.
SBIE User


Joined: 10 Nov 2006
Posts: 96
Reply with quote
Eraserl.exe is a separate program from eraser.exe and eraser.dll. When Eraser is installed, it places this in the C:\Windows\System32 folder.

If it is already in that folder, you don't need to give any path in the Sandboxie DeleteCommand setting, because C:\Windows\System32 is on the basic path statement already.

So I would suggest you check to make sure Eraser.exe, Eraserl.exe, Erasext.dll are all in the C:\Windows\System32 folder. Then just use the DeleteCommand code you noted in your message.

Hope that helps. I think the problem may have been that you did not realize Eraserl.exe is a separate program.

_________________
SBIE (Happy) User
View user's profileSend private message
Pintas
Guest

Reply with quote
First of all, thank you for your reply.

I am aware that eraserl is a different program. But I don't want it installed, that's why i copied it to the sandboxie instalation folder. I just want it there along side sandboxie. But when i run it, the command doesn't work. Even if i install Eraser completelly, the error is the same, don't know what's wrong.

I keep getting a "There was nothing to erase." error.
SBIE User


Joined: 10 Nov 2006
Posts: 96
Reply with quote
OK, since you did not mention Eraserl.exe in your original message I thought you might not know about it.

As I read your posts again, I realize that Sandboxie is finding and running Eraserl.exe just as you intend. The error message you mention is an Eraserl.exe error message, so the program location in your Sandboxie folder is working fine.

I have had this error message occassionally using Eraserl.exe in Sandboxie. It seems to occur if the sandbox is empty or if there is a program in the sandbox that has not been terminated -- perhaps a lingering program.

I'm not sure if that is what is causing your error message, but I am sure that the problem is not related to where you have located the Eraserl.exe file.

Good luck. I hope you can get it working.
View user's profileSend private message
Pintas
Guest

Reply with quote
Very Happy

You are right, i forgot to mention eraserl.exe... sorry about that.

Although i've checked if there is any program lingering, and there is not. In fact i've also tried running the eraserl.exe from the command line and i get the exact same error, so i guess it's completelly non-related to sandboxie at all.
I only got it working with this command line:

Code:
Eraserl.exe -folder "%CD%\Sandbox" -subfolders -method DoD_E -results


But this works only via command line, it produces no effect in sandboxie.ini

I'll ask for some help in the eraser forum....

Thanks again for your help.
SBIE User


Joined: 10 Nov 2006
Posts: 96
Reply with quote
Try this code in the DeleteCommand setting:

Code:

eraserl.exe -folder "%SANDBOX%" -subfolders -method DoD_E -queue -results
View user's profileSend private message
Pintas
Guest

Reply with quote
I found the problem...

Not sure if i can share without Tzuk's permission.... lol

Anyway... i've solved my problem.

Thank's again! Now i'm also a happy Sandboxie user Very Happy
Use Eraserl.exe in specific location
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

Use the RSS feed to watch this topic for replies
  
  
 Reply to topic  

Sandboxie is Copyright © 2004-2012 by Sandboxie Holdings LLC.  All rights reserved.
Sandboxie.com | Contact Author
This site has been viewed 208,250,923 times since June 2004