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

 

Answer Summary:
Cancel
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

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

Answered 01/14/2014 by: BHC-Austin
Fourth Degree Black Belt

  • Yes that worked well for me. Thank you for responding I appreciate it!
Please log in to comment
Answer this question or Comment on this question for clarity