![]() |
| copy or duplicate sandbox |
|
street011
|
it's actualy very easy, create a new sandbox, "Sandbox2" (for example) now "Explore" your "DefaultBox" copy it's content to the "Sandbox2" folder...
there is your duplicate |
||||||||||||
|
|
|||||||||||||
|
lwc
|
Thanks! I mentioned this solution in the rollback request so people there would know about it.
Nevertheless, can you add an interal option to do this? It would be a great feature for registered users. street011's manual way would be problematic when you want a sandbox with "Delete Invocation" on (deletets itself when being closed). Nothing would then beat quickly right clicking the program's icon and choosing "duplicate sandbox X". Until then, one could use the following "xcopy" command in "Delete Invocation". |
||||||||||||
|
Last edited by lwc on Fri Dec 18, 2009 11:00 pm; edited 5 times in total |
|||||||||||||
|
lwc
|
Can anyone confirm I wrote all the relevant xcopy parameters that would create a 100% tree copy?
I had to use xcopy because copy would only copy either files or folders (if they're in the same folder - e.g. sandbox\file.txt and sandbox\folder\). |
||||||||||||
|
|
|||||||||||||
| copy or duplicate sandbox |
|
yakir.zadok@gmail.com
Guest
|
the idea of xcopy is not enough,
I need to delete all created files and directories. how can I delete files that has been changed since a TIME? and then copy only the mised files? the idea of copy all the sandbox is 3 GB again and again and rooin the HD. |
||||||||||||
|
|
|||||||||||||
|
lwc
|
You're the one who wanted duplication and so this topic is about duplication.
If you suddenly want to request a rollback feature, just join the relevant topic (linked above). |
||||||||||||
|
|
|||||||||||||
| copy or rollback |
|
yakir.zadok@gmail.com
Guest
|
the idea of mine was to do a kind of rollback, So I will continue posting to the roll back forum |
||||||||||||||
|
|
|||||||||||||||
|
lwc
|
Hmm, it turns out that unlike "Delete Command", "Auto Exec" is an internal command (within the sandbox's scope) so it's no good for duplicating sandboxes.
Does Sandboxie supply an external equivalent for it? Until I get an answer, here's a less efficient - but nonetheless a working - version of duplicating (a sandbox named "SavedBox") - via the external "Delete Command":
(thanks for Tzuk for coming up with the %A thing!) That way you can have "Foobar" and "Foobar_Dummy", and upon deleting "Foobar" it would get restored to "Foobar_Dummy". P.S.
Don't use this xcopy parameter in Windows XP Home as it gets the relevant sandbox (%A)'s folder locked! |
||||||||||||||||
|
Last edited by lwc on Fri Feb 12, 2010 10:22 am; edited 8 times in total |
|||||||||||||||||
|
lwc
|
v2.29.22 beta somehow interfered with xcopy. I have no idea why and how, but the above command doesn't work anymore.
Actually, if I turn off Sandboxie (including the service) and run
Then it says 0 files copied, but this is created:
However, using double quotes somehow fixes the problem:
And thus the new command is:
I'm telling you, it wasn't like this moments before installing v2.29.22 beta (including a restart just to make sure). |
||||||||||||||||||||
|
Last edited by lwc on Fri Dec 11, 2009 12:34 am; edited 1 time in total |
|||||||||||||||||||||
|
tzuk
|
Version 3.29.22 extends the new logic in ForceFolder to the sandbox folder. In other words if you had
xcopy c:\some\forced\folder then the new logic in ForceFolder can catch that. You're doing xcopy c:\sandbox\folder so it is essentially caught by the same logic. By using double-quotes you fooled the new logic to not catch the invocation. |
||||||||||||
|
_________________ tzuk |
|||||||||||||
|
lwc
|
If the sandboxes are now like forced folders, then:
1) How come they're still forced folders even if Sandboxie (including the service) is turned off? 2) If it affects xcopy, how come the delete command works (it just deletes the folder)? |
||||||||||||
|
|
|||||||||||||
|
tzuk
|
I think the new ForceFolders (including its application to sandboxed folders) is a bit over-protective. I will revise it and I hope it will resolve problems like this.
|
||||||||||||
|
|
|||||||||||||
|
MitchE323
|
|
||||||||||||||
|
|
|||||||||||||||
|
tzuk
|
Version 3.29.23 should have more reasonable behavior.
Mitch, if you still have problems with version 3.29.23, then I'd need to better understand what's this "limited run_access" thing you're talking about. |
||||||||||||
|
|
|||||||||||||
|
MitchE323
|
Details ------------------------------------------------------------------------------------ [GlobalSettings] ProcessGroup=<Foxit>,Foxit Reader.Exe,sandboxiedcomlaunch.exe,sandboxierpcss.exe,start.exe [Foxit] Enabled=y ConfigLevel=4 ClosedIpcPath=!<Foxit>,* ForceFolder=C:\Program Files\Foxit Reader ------------------------------------------------------------------------------------ In your Foxit folder place any existing pdf file, also create a NewTextDocument.txt. Now in an UN-sandboxed Windows Explorer navagate to the Foxit folder. RightClick on the Pdf and 'Open With...' - also RightClick on the Txt and 'Open With' > 'Choose Program'. Both should create a Rundll32.Exe error notification. For this using the Foxit folder is just an example. |
||||||||||||||
|
|
|||||||||||||||
| copy or duplicate sandbox |
|
||
|


Use the RSS feed to watch this topic for replies