xcopy right practice

There are big diference in this two scripts:
xcopy /D /Y \\authenticated\tempname.exe %systemroot%\realname.exe
xcopy /D /Y \\authenticated\realname.exe %systemroot%
The second script is better causing the first one did not know that the realname.exe is file or directory.

No comments: