Can you use Windows Variable names within Lotus Notes

5 pts.
Tags:
Lotus Notes
Windows Variable Names
Trying to use a %Username% varible as part of the archive directory location in Lotus notes and it seems not to recognize path. (e.g. \myserver%username%my_mail.nsf)
ASKED: July 1, 2009  5:57 PM
UPDATED: July 2, 2009  8:34 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.

I verified that Windows Explorer will parse the %username% variable, so windows scripting engines will probably do the same. The format I used is the same as you gave in the question, (\\myserver\%username%\my_mail.nsf) so there may be another issue, such as permissions to view a file on the Notes server.
Notes has a robust security model, and probably disallows direct access to the server objects, even if the requestor is asking for their own my_mail.nsf file.

*****ADDITION INFO*****

If using Lotus Script, you can use the ENVIRON function. For example, Environ(“Temp”) gives the temp directory per the Windows OS.

Mike Kinder

***************************

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following