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)

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.

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.

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

Following

Share this item with your network: