Page 1 of 1
					
				[.02] SB 4.04 and 4.05.1 unset PATH enviroment variable
				Posted: Wed Jul 24, 2013 6:56 am
				by piterkater
				On Windows 7 x64 with SB 4.04 and 4.05.1, PATH enviroment var is not defined. 
On WinXP SP3 32bit with SB 4.04   OK!
On Windows 7 x64 with  3.76 and 4.02 OK!
			 
			
					
				
				Posted: Wed Jul 24, 2013 10:30 am
				by tzuk
				I am not seeing this problem, or otherwise I don't understand what you're asking me to look at.
			 
			
					
				
				Posted: Wed Jul 24, 2013 11:42 am
				by piterkater
				See the picture
 https://www.dropbox.com/s/8asyqcrtsb5rt ... t_Path.png
PATH is not defined on Sandbox. Tested on all four sandboxies.
without PATH many app not found like java.exe
I back to 4.02 and working without problem.
tell me is you need any info or test in my system.
 
			 
			
					
				
				Posted: Wed Jul 24, 2013 1:05 pm
				by Guest10
				On XP, the PATH is quite different: unsandboxed vs. sandboxed
Unsandboxed cmd.exe:
Path=C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program Files\GNU\GnuPG;C:\Program Files\Support Tools\;C:\Program Files\Microsoft USB Flash Drive Manager\;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\11.0\DLLShared\;C:\Program Files\Common Files\Acronis\SnapAPI\;C:\Program Files\Acronis\TrueImageHome\;C:\WINNT\system32\WindowsPowerShell\v1.0;C:\Program Files\GNU\GnuPG\pub;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\Microsoft USB Flash Drive Manager\
All but the last item in the PATH are "System Variables".
The last item is a "User Variable".
------
Sandboxed cmd.exe:
Path=C:\Program Files\Microsoft USB Flash Drive Manager.
Only "User Variables" show in my PATH, when sandboxed.
SB 4.05.01
[Edited]The "last items"  I listed was only 1 item. Doh!
			 
			
					
				
				Posted: Wed Jul 24, 2013 1:50 pm
				by DR_LaRRY_PEpPeR
				Interesting... I was going to say I'm not seeing any difference on XP or 64-bit 7. Sandboxie 4.04.
Then after Paul's reply about "User variables," I realized I don't have a PATH environment variable defined for the user. So I created one (System Control Panel > Advanced, etc.) with the value "Test."
Checking the Command Prompt UNsandboxed, "Test" has been appended to PATH. Sandboxed it's only "Test." I only checked on XP...
But piterkater's isn't defined at all.
			 
			
					
				
				Posted: Wed Jul 24, 2013 3:12 pm
				by tzuk
				Thanks for the hint Guest10.  I change something about environment variables in version 4.04.  I guess there is a problem with "user" variables completely overriding "system" variables.  I'll check it out.
http://www.sandboxie.com/phpbb/viewtopic.php?t=15877 
			 
			
					
				
				Posted: Thu Jul 25, 2013 9:17 am
				by tzuk
				Version 4.05.02 should merge the system and user parts of the PATH like Windows does.