as described here: https://superuser.com/questions/1057707 ... -sandboxie
i have burn shortcut to one app with sandboxie at my desktop, but when i move this shortcut to another folder and run it XY change destination parameter from C:\Program Files\Sandboxie to C:\Program Files (x86)\Sandboxie and this obviously no longer does...
same shortcut and method with default explorer work fine.
how to bypass this behavior?
sysnative sandboxie problem
-
swan_x
- Posts: 335
- Joined: 08 Oct 2009 12:27
Re: sysnative sandboxie problem
... and although manually change correct path in the destination field (C:\Program Files) each time run shortcut changes the path back to C:\Program Files (x86)....
it had already happened to me when i was trying to put a key in the registry and i had to create an association with the .reg files like this
*.reg>::run """%windir%\sysnative\cmd.exe"" /c regedit.exe /s ""<pfaitem>""", , 2, 0;msg "key added";
but this is a different case because it is a shortcut and not a file.... does anyone have any ideas about it??
it had already happened to me when i was trying to put a key in the registry and i had to create an association with the .reg files like this
*.reg>::run """%windir%\sysnative\cmd.exe"" /c regedit.exe /s ""<pfaitem>""", , 2, 0;msg "key added";
but this is a different case because it is a shortcut and not a file.... does anyone have any ideas about it??
-
admin
- Site Admin
- Posts: 67270
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: sysnative sandboxie problem
The shortcut is incorrectly defined. Because it assumes a 64-bit app reading it, it uses reader-sensitive environment variables. A mistake as you just experienced. Only the creator of the shortcut can fix this.
FAQ | XY News RSS | XY X
-
swan_x
- Posts: 335
- Joined: 08 Oct 2009 12:27
Re: sysnative sandboxie problem
the creator of this shortcut is sandboxie, not me.
as explained in the first post https://superuser.com/questions/1057707 ... -sandboxie
and why work (after move shortcut to another folder) with win explorer but not with XY?
as explained in the first post https://superuser.com/questions/1057707 ... -sandboxie
and why work (after move shortcut to another folder) with win explorer but not with XY?
-
nas8e9
- Posts: 2232
- Joined: 21 Jun 2008 14:50
Re: sysnative sandboxie problem
The problem is a Windows compatibility feature in 64-bit Windows that redirects 32-bit programs to their own version of C:\Program Files, i.e. C:\Program Files (x86). Since Windows Explorer is a - very special - 64-bit app, it doesn't fall foul of this compatibility feature.
If possible, changing the first portion of the afflicted path to %ProgramW6432% instead of the hardcoded C:\Program Files, you could work around this?
-
swan_x
- Posts: 335
- Joined: 08 Oct 2009 12:27
Re: sysnative sandboxie problem
no, you cannot change the value in the target field. whatever value you enter is not accepted...
only win explorer don't change value, so it works...
when XY 64bit will it be available?
only win explorer don't change value, so it works...
when XY 64bit will it be available?
-
swan_x
- Posts: 335
- Joined: 08 Oct 2009 12:27
Re: sysnative sandboxie problem
ok. thankfully there is a chance to have a contextual menu with right button and then you can start any file from here.
so, the shortcut is a relative problem...
so, the shortcut is a relative problem...
-
swan_x
- Posts: 335
- Joined: 08 Oct 2009 12:27
Re: sysnative sandboxie problem
solved.
moved shortcut requires sandboxie into C:\Program Files (x86)\ to run command.
so, i have put (copied from original path C:\Program Files\Sandboxie) on C:\Program Files (x86)\Sandboxie only 2 files required run command: Start.exe and SbieDll.dll
with this trick i can move the shorcut where i want and everything works well !!
tanxs to everybody for your attention and your suggestion.
moved shortcut requires sandboxie into C:\Program Files (x86)\ to run command.
so, i have put (copied from original path C:\Program Files\Sandboxie) on C:\Program Files (x86)\Sandboxie only 2 files required run command: Start.exe and SbieDll.dll
with this trick i can move the shorcut where i want and everything works well !!
tanxs to everybody for your attention and your suggestion.
XYplorer Beta Club