<username> manipulation
Posted: Wed Nov 02, 2011 2:52 pm
is there a way to manipulate the <username> before it prints? The reason being, we have a space in our user names on our server but on our desktops that space is replaced with a ".".
Here is the string i currently use (which works well):
Current Username = John Smith
output=\\tsclient\C\Users\John.Smith\Desktop\_Contract_Files\<basedocname>_<time>.pdf
Note that i have to manually edit the output string on a per user basis because of the "." in their names.
Here is what i would like to use if at all possible
Current Username = John Smith
output=\\tsclient\C\Users\<username>\Desktop\_Contract_Files\<basedocname>_<time>.pdf
This way anytime a new user comes along, i just dump the same settings folder into their profile without having to manipulate it.
Here is the string i currently use (which works well):
Current Username = John Smith
output=\\tsclient\C\Users\John.Smith\Desktop\_Contract_Files\<basedocname>_<time>.pdf
Note that i have to manually edit the output string on a per user basis because of the "." in their names.
Here is what i would like to use if at all possible
Current Username = John Smith
output=\\tsclient\C\Users\<username>\Desktop\_Contract_Files\<basedocname>_<time>.pdf
This way anytime a new user comes along, i just dump the same settings folder into their profile without having to manipulate it.