Sandboxie Forum - Use Eraserl.exe in specific location (3803) http://www.sandboxie.com/phpbb/viewtopic.php?t=3803 en-us 90 Fri Aug 15, 2008 4:22 am Fri Aug 15, 2008 4:22 am Pintas: http://www.sandboxie.com/phpbb/viewtopic.php?p=25348#25348 Fri Aug 15, 2008 4:22 am http://www.sandboxie.com/phpbb/viewtopic.php?p=25348#25348 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 :D SBIE User: http://www.sandboxie.com/phpbb/viewtopic.php?p=25347#25347 Fri Aug 15, 2008 2:39 am http://www.sandboxie.com/phpbb/viewtopic.php?p=25347#25347 Try this code in the DeleteCommand setting: [code:1:65c9421807] eraserl.exe -folder "%SANDBOX%" -subfolders -method DoD_E -queue -results [/code:1:65c9421807] Pintas: http://www.sandboxie.com/phpbb/viewtopic.php?p=25344#25344 Fri Aug 15, 2008 12:06 am http://www.sandboxie.com/phpbb/viewtopic.php?p=25344#25344 :D 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:1:d2a629942f]Eraserl.exe -folder "%CD%\Sandbox" -subfolders -method DoD_E -results[/code:1:d2a629942f] 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: http://www.sandboxie.com/phpbb/viewtopic.php?p=25335#25335 Thu Aug 14, 2008 9:56 pm http://www.sandboxie.com/phpbb/viewtopic.php?p=25335#25335 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. Pintas: http://www.sandboxie.com/phpbb/viewtopic.php?p=25334#25334 Thu Aug 14, 2008 8:25 pm http://www.sandboxie.com/phpbb/viewtopic.php?p=25334#25334 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: http://www.sandboxie.com/phpbb/viewtopic.php?p=25333#25333 Thu Aug 14, 2008 7:13 pm http://www.sandboxie.com/phpbb/viewtopic.php?p=25333#25333 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. Pintas: Use Eraserl.exe in specific location http://www.sandboxie.com/phpbb/viewtopic.php?p=25327#25327 Thu Aug 14, 2008 4:21 pm http://www.sandboxie.com/phpbb/viewtopic.php?p=25327#25327 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:1:12be72635c] [DefaultBox] DeleteCommand=eraserl.exe -folder "%SANDBOX%" -subfolders -method DoD_E -queue -resultsonerror[/code:1:12be72635c] As instructed in [url]http://www.sandboxie.com/index.php?DeleteCommand[/url] 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:1:12be72635c]Error: There was nothing to erase.[/code:1:12be72635c] What am i doing wrong? Thank you and sorry to bother.