THaT did it!!!!!!
This line of code did it..Its all in the syntax.

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

I want to thank all of you for your help thus far.

Tomorrow I will finish this little script....
THANKS AGAIN..