Hello,
unfortunately environment variables are allow in some registry keys, e.g.
Code:
regread FavOrdner, HKCU, Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders, Favorites
msgbox, "%FavOrdner%"
yields - in most cases - "%USERPROFILE%\Favorites", sometimes the complete path and - that the problem - sometimes "%IDONOTKNOWWHAT%\Path" or even "%NETWORKMAP2%%UserProf1%\Favorites" ...
Is there a way to parse this into a complete path - without knowing whether there's a environment var in the key or not.
Thanx