Erroneous "Nothing to do" message
Posted: 04.04.2019, 14:08
If "Copy updates for selected products into directory" is checked but the specified directory doesn't exist we get "Nothing to do" message.
Forums for questions, problems and suggestions concerning WSUS Offline Update
https://forums.wsusoffline.net/
rem *** Copy client tree ***
if not exist %SystemRoot%\System32\xcopy.exe goto NoXCopy
echo Copying client tree for %1 %2 %3 %4 %5 %6 %7 %8 %9...
for %%i in (%USB_FILTER%) do (
pushd "%%~dpi"
%SystemRoot%\System32\xcopy.exe "%~dp0..\client\*.*" %OUTPUT_PATH% /D /E /I /Y /EXCLUDE:%%~nxi
if errorlevel 1 (
popd
if exist %USB_FILTER% del %USB_FILTER%
goto XCopyError
)
)
popd
Default value for Destination
If you omit Destination, the xcopy command copies the files to the current directory.