Page 1 of 1

Command Line

Posted: Thu Sep 14, 2006 5:30 am
by ChrisW
Hi,

Is it possible to use sandboxie with command line switches? This would be useful when using batch files etc.

Regards,

Chris

Re: Command Line

Posted: Thu Sep 14, 2006 7:11 am
by ChrisW
I have just seen the thread regarding command line use. I can see options to run programs but not (for example) empty a sandbox. Is this possible?

Posted: Sat Sep 16, 2006 5:39 pm
by tzuk
Yes. I will document Start.exe better in the wiki, but a quick dirty answer:

you can run "Start.exe /reload" to reload configuration.

you can run "Start.exe /box:Whatever delete_sandbox" to delete that sandbox. In a batch file, you should say "delete_sandbox_silent" instead, because "delete_sandbox" may pop-up message boxes.

The /box: parameter is optional. If omitted, Start.exe operates on DefaultBox. This is also true for the following commands:

"Start.exe /box:Whatever run_dialog" brings up the Run Any Program dialog.

"Start.exe /box:Whatever msi_server" runs Windows Installer sandboxed.

There are some more -- you can look in the shortcuts created in the Sandboxie program group in the Start menu.

Posted: Tue Oct 10, 2006 10:30 am
by ChrisW
Hi Tzuk,

Thank you for your help.

Regards,

Chris