Thanks for all the syntax help...

whats happening using the current code is that the folder atiisler.id is being created on the network drive
but once it gets to

code:
copy $sourcefile $targetdir

It is telling me (with use of error routine)
"The system can not find the path specified
c:\Lotus\Notes\data\names.nsf to directory \\orrm\domino\loca_notes\atiisler.id"

Both the names.nsf exists and the atiiser.id folder was created.??????
Do I need to change back to some directory is my copy statement correct????