/build/static/layout/Breadcrumb_cap_w.png

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

 


0 Comments   [ + ] Show comments

Answers (1)

Answer Summary:
Posted by: BHC-Austin 10 years ago
4th Degree Black Belt
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

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ