Main: 481 - Invalid picture
Posted: 08 Jan 2019 11:37
portable xy doesn't start and write this error log to the disk: Main: 481 - Invalid picture
this error happens when I use this batch at the startup of winpe
but when I use the Install version XY starts normally
also without this batch portable XY starts normally
So is this something wrong with XY or just because I don't run it on normal windows?
---------
update:not xy fault
https://superuser.com/questions/130029/ ... t-variable
this error happens when I use this batch at the startup of winpe
Code: Select all
setx mycd "Y:"
setx PATH "%PATH%;d:\Programs\dcrypt" /M
START /B reg.exe add "HKCU\Environment" /v mycd /t REG_SZ /f /d "Y:"
xyplorer.exealso without this batch portable XY starts normally
So is this something wrong with XY or just because I don't run it on normal windows?
---------
update:not xy fault
https://superuser.com/questions/130029/ ... t-variable
If the environment variable is set by another application and is not being updated, it is often easiest to either restart the "explorer.exe" process, log out and back in, or reboot. Essentially, you just need to tell explorer to reload the environment variables. If it is an application that you have developed, such as an installer, ensure that it is calling SendMessage (HWND_BROADCAST, WM_SETTINGCHANGE, 0, (LPARAM)"Environment");. This tells explorer to refresh its cache of the environment variables.
This is important because applications launched by another process inherit their environment variables from their parent. As such, if you launch cmd from explorer, you get the variables as explorer sees them.