why won't this work:

code
$id = file name found previously

$sourcefile="c:\Lotus\Notes\Data\names.nsf"

$targetdir="\\orrm\domino\local_notes\" + "$id"

if not exist($targetdir)
md $targetdir

copy $sourcefile $targetdir

When I run this the folder is created in the right target directory with the right name but then when I get to the copy statement I get and error that says "system can not find path specified" showing the correct paths for copying from and to...

Once I get this part I will be almost done.....