With JScript, the alias /profile
works fine:
DOpus.Output(DOpus.FSUtil.Resolve('/profile'));
The Evaluator, however, seems to struggle with it:
Output(Resolve("/dopusdata"));
Output(Resolve("/home"));
Output(Resolve("/profile"));
Output(Resolve("%userprofile%"));
It turns out that Resolve() does not return anything for any of these aliases:
/admintools
/appdata
/commonadmintools
/commonappdata
/commondesktopdir
/commondocuments
/commonfiles
/commonfilesx86
/commonprograms
/commonstartmenu
/commonstartup
/commontemplates
/cookies
/desktop
/downloads
/favorites
/fonts
/history
/internetcache
/localappdata
/mydocuments
/mymusic
/mypictures
/myvideos
/nethood
/onedrive
/printhood
/profile
/programfiles
/programfilesx86
/programs
/recent
/sendto
/start
/startup
/system
/systemx86
/templates
/windows
The good news: no problems with environment variables