Command Line

Ideas for enhancements to the software
Post Reply
ChrisW

Command Line

Post by ChrisW » Thu Sep 14, 2006 5:30 am

Hi,

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

Regards,

Chris

ChrisW

Re: Command Line

Post by ChrisW » Thu Sep 14, 2006 7:11 am

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?

tzuk
Sandboxie Founder
Sandboxie Founder
Posts: 16076
Joined: Tue Jun 22, 2004 12:57 pm

Post by tzuk » Sat Sep 16, 2006 5:39 pm

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.
tzuk

ChrisW

Post by ChrisW » Tue Oct 10, 2006 10:30 am

Hi Tzuk,

Thank you for your help.

Regards,

Chris

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest