@echo off
echo %DATE%,%TIME%,%USERNAME%,%COMPUTERNAME% >> \\ds.fordham.edu\Users\migrate.log
mkdir P:\Saved-%computername%\
net use > P:\Saved-%computername%\SPARES.txt
robocopy "%LIBRARIES%\Music" P:\Saved-%computername%\Music /E /LOG:P:\Saved-%computername%\copylog.log /np
robocopy "%USERPROFILE%\Desktop" P:\Saved-%computername%\Desktop /E /LOG+:P:\Saved-%computername%\copylog.log /np
robocopy "%USERPROFILE%\Local Settings\Application Data\Microsoft\Outlook" P:\Saved-%computername%\Outlook *.pst /E /LOG+:P:\Saved-%computername%\copylog.log /np
robocopy "%USERPROFILE%\" "P:\Saved-%computername%\PKCU /E /LOG+:P:\Saved-%computername%\copylog.log /np
robocopy "%LIBRARIES%\Pictures" "P:\Saved-%computername%\Pictures" /E /LOG+:P:\Saved-%computername%\copylog.log /np
robocopy "%LIBRARIES%\Documents" "P:\Saved-%computername%\Documents" /E /LOG+:P:\Saved-%computername%\copylog.log /np
pause
Я продолжаю получать
ERROR 2 (0x00000002) Accessing Source Directory
The system cannot find the file specified.
Для каждого каталога / библиотеки. Что-то не так с моим сценарием? Любая информация будет наиболее ценной. Спасибо