Startup.ini - Non accessible path: Error 76
Posted: 21 Jul 2024 18:54
Any non accessible path in the Startup.ini leads to this (e.g. O:\ is currently not mounted):
This error pops up 2 times on start (if tags exist):
Now using: Menu - File - Exit (Saving) leads to:
Followed by a Windows dialog box:
Using Skip here leads to Error 76:
It would be nice if the path from the startup.ini is not available XY wouldn't even try to write profile data into its own folder (at least not, if that is in a UAC-protected path).
Maybe the default in such a case should be a %APPDATA%\XYplorer_<version number>
so it's
01.) A safe location to write to
02.) It won't overwrite any normal existing ("%APPDATA%\XYplorer") with fresh data
Or even better: Shell out a single dialog box on startup!
The profile path defined in Startup.ini wasn't found, automatic saving is disabled!
and skip all other dialog windows!
We would still be able to save all profile related settings via Menu - File - Settings Special - Save Configuration as...
if that's necessary...
Code: Select all
[Appdata]
Path="O:\XYplorer\UserProfiles\%username%"
This error pops up 2 times on start (if tags exist):
Code: Select all
Failed to Save Tags
Access is denied
C:\Program Files (x86)\XYplorer 26.20.0205\tag.dat
Code: Select all
Save Settings Failed
Access is denied.
C:\Program Files (x86)\XYplorer 26.20.0205\XYplorer.ini
It would be nice if the path from the startup.ini is not available XY wouldn't even try to write profile data into its own folder (at least not, if that is in a UAC-protected path).
Maybe the default in such a case should be a %APPDATA%\XYplorer_<version number>
so it's
01.) A safe location to write to
02.) It won't overwrite any normal existing ("%APPDATA%\XYplorer") with fresh data
Or even better: Shell out a single dialog box on startup!
The profile path defined in Startup.ini wasn't found, automatic saving is disabled!
and skip all other dialog windows!
We would still be able to save all profile related settings via Menu - File - Settings Special - Save Configuration as...
if that's necessary...