5 pts.
0
Q:
Can you use Windows Variable names within Lotus Notes
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: Jul 1 2009  5:57 PM GMT
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
0
1220 pts.
0
A:
 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0
  • AddThis Social Bookmark Button
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

***************************
Last Answered: Jul 2 2009  8:34 PM GMT by SlikTool   1220 pts.
Latest Contributors: Dmenke38   185 pts.
0
0
Discuss This Answer:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _



0