;RUN 'c:\robocopy "c:\documents and settings\$username\My Documents" H:\$backuplocation /MIR /R:5 /W:10'
Never hard code the username in the path. Either use %userprofile% or pull it from the reg.
Don't embed vars in strings. Concatenate!
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.