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)
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 Wiki Answer Submitted: July 2, 2009 8:34 pm by Dmenke38185 pts.
If you live outside the United States, by submitting your email address you consent to having your personal data transferred to and processed in the United States.