Define an alias-file for a database filename
Peter Rosenberg Hansen
Reader Peter Rosenberg Hansen sends in this tip about alias files. He notes that it also works on the client, e.g. using your Notes Client.
I use this technique to refer to my NAMES.NS4 on a fileserver, so I can use it across PC's and across several Notes Client versions on my machine. That is:
My NAMES.NSF is a text-file with a dir-link to my
<LAN-Drive>USRPrivateNAMES.NS4, together with a cascaded NAMES-ini setting:
NAMES=r5names.nsf;names.nsf
Using this I employ the same addressbook for my R4 and R5 client, on a
single PC.
Just follow these steps:
- Go to your DATA directory.
- Make a new file (NEWDB.NSF) using the OS editor, named as you want the alias name to be.
- In the first line, refer to the file, this alias is alias for: Otherdir/oldfile.nsf
- In the second line, you can add a comment:
;This is due to a migration effort by John Doe.
- End the last line by a Carriage Return
- Start your Client, and Open DB(Local/Server)
- Open database 'NEWDB.NSF'
- You find that it actually opens your Otherdir/oldfile.nsf, that it was an alias for.
This follows the syntax of the DIR-file, so please read about this topic (in HELP-db) if you're in doubt.
Did you like this tip? If so, or if not, let us know. Send an e-mail to sound off, or go to our tips page where you can submit a tip yourself, and rate this, and all our other tips.