>>>My problem is that now some of the users are on Citrix and using onedrive, so this location is no longer valid. Isn't there a SYS() function or something I can run to get the logged in users' desktop folder location???
>
>Worth a try:
>
>
Getenv("userprofile")+"\desktop\
The above will not work.
You need to use something like this:
objSFolders = CreateObject("WScript.Shell")
x = objsfolders.SpecialFolders
?x.Item('mydocuments')
?x.Item('desktop')