This is used when you want to move the datbase to another server:
Add the below script in the database script scetion of Notes database
@If( !(@Contains(@Subset(@DbName; 1);”old server name here”)); @Do(
@PostedCommand([FileCloseWindow]);
@PostedCommand([FileDatabaseRemove]);
@PostedCommand([FileOpenDatabase];”new server name here”:”directory\\db_name_here.nsf”);
@PostedCommand([AddBookmark]);
@Prompt([Ok];”Database Moved To A New Location”;”The ” + @DbTitle + “database has been moved to a new location. You will be automatically redirected to the new location.”+ @Char(13) + @Char(13) +”Please click Yes in the next window (it will say ”Remove selected items?”) You will only be asked to do this once for this database.”)
);””)