Issue with Desktop being on the network causing problems with Target Location of a folder
Hello Guys,
I am having an issue which sprouted when we moved some of our Users Desktops to our network. We have one folder within the desktop which houses files that need to call upon a text file in order to work properly. The target location for one of these files is as follows (I have replaced certain parts in bold as I am not allowed to post them):
"C:\Program Files (x86)\Program\Player\ProgramPlayer.exe" -N "File" -F "%Username%\Desktop\File Directory\Text File Directory\Text File.txt"
We would normally use %Username% in order to access each users desktop but this will only work while the desktop is local. My question is, are there any Wildcards which I could use that could enable me to access a users desktop, whether they are local or on our network? If there are not, are there any suggestions as to what can be done to make it so I can set both users who are now on our network plus the already existing local users up with an accurate target location?
Thank you,
-David
Answers (1)
By "moved some users' desktops to the network", I assume you mean roaming profiles. Presumably, then, you have folders corresponding to each user out on a server somewhere. If that is the case, you could replace the path with a UNC to the users' profile, still using the %username% wildcard - something like: \\server\profileshare\%username%\Desktop
Comments:
-
Yes that worked well for me. Thank you for responding I appreciate it! - yrvd86 10 years ago
-
Glad I could help. - BHC-Austin 10 years ago