I am building a new 2000 Terminal Server and will be copying user accounts to the new server using ROBOCOPY. The following command works, but I have to edit the user's name before I copy every account. What I would like to do is have the batch file prompt me for the username and insert it into the batch file.
The following command copies the account from the old server (Z:) to the new server (C:). It does not copy mp3 files and temp files/directories.
robocopy "Z:\Documents and Settings\jperkins" "C:\Documents and Settings\jperkins" /S /E /SEC /COPYALL /V /NP /LOG:"log.txt" /XF *.mp3 /XF *.tmp /XD *temp* /R:10 /W:30
Any help will be appreciated,