Here is the exact code (sanatized of course) that I used to move 1200 users home folders with Robocopy.

Maybe it will give you an idea of what you are doing incorrectly. And as Glenn said, you need to run it from a command line. Not from a script to see what is going on with it.

 Code:
$Options = "/R:2 /Z /W:2 /CopyAll /MOV /E /V /NP /LOG+:\\server\c$\scripthome\logs\"+$AD_User+".txt"
Shell "%comspec% /c \\server\c$\scripthome\bin\Robocopy " + $Directory + " " + "\\store\homedir$\" + Left($AD_User,1) + "\" +$AD_User+"\ "+ $Options
$Result_Flag[0] = @ERROR
$so = WriteLine ($fh,"HomeShare move attempted exit code of :" + $Result_Flag[0] + " " + @CRLF)


Edited by Gargoyle (2009-06-25 01:26 AM)
Edit Reason: Removed extra spacing
_________________________
Today is the tomorrow you worried about yesterday.