The part that doesn't sink in is how is \Scripts\\\DC\Netlogon\sr-kixscripts\outlook.prf is different from $scriptdir+'\'$prf when scriptdir=c:\Scripts and prf=@lserver\netlogon\sr-kixscripts\outlook.prf. Like I said that path works because my copy command in the script finds the outlook.prf file there. So what am I doing wrong? Do I not supposed to add the + sign or what. I mean I defined both of those variables.