so, going again with the whole peace...
code:
$id = dir("c:\lotus\notes\data\*.id")
if @error
? "there is an error"+ @serror+"You should notify the Administrator"
else
$sourcefile="c:\Lotus\Notes\Data\names.nsf"
$targetdir="\\orrm\domino\local_notes\"+$id+".id"
if not exist($targetdir)
md $targetdir
endif
if not exist($targetdir+"\names.nsf")
copy $sourcefile $targetdir+"\names.nsf"
endif

this copies if not file exist.
it also creates the dir if it does not exist.

cheers,
_________________________
!

download KiXnet