Thanks very much tzuk. I had thought of that, but unfortunately it wouldn't work when using Sandboxie the way I do - which is with nothing autostarting and just selecting "Run Sandboxed" from the Explorer right click context menu whenever needed.
As a work-around, is there any way I can modify what that "Run Sandboxed" entry calls? I checked the Registry, but didn't find the string "Run Sandboxed" anywhere. I did find references under:
1. HKEY_USERS\
{long_alphanumeric_string}\Software\Classes\*\shell\sandbox\command
2. HKEY_USERS\
{long_alphanumeric_string}\Software\Classes\Folder\shell\sandbox\command
3. HKEY_USERS\
{long_alphanumeric_string}_Classes\*\shell\sandbox\command
4. HKEY_USERS\
{long_alphanumeric_string}_Classes\Folder\shell\sandbox\command
which call start.exe with either "/box:__ask__ "%1" %*" or "/box:__ask__ Explorer.exe "%1" as parameters. Are those what the Explorer context menu entry uses?
If it is possible to modify the context menu entry to instead launch a batch file, I could make it do what I'd like. And that's easy enough if those keys are the correct place to do it.
No need to respond further if this isn't possible though. I don't want to waste your time and can always just figure this out later by testing.
@Micahs: Now that I've used BorderGuard more, I have another request: a settings option which allows the borders to remain visible even when the bordered sandboxed windows are not in focus. At first I thought you just couldn't border multiple sandboxed windows, but now I see it's a focus issue. And when multiple windows are open, this can become a problem. I'd like sandboxed windows to
always be bordered - even if in the background. Would such an option be possible?
Thanks again!