I have to revert to this question.
meanwhile I found the problem:
Code: Select all
"%AppData%\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar"
Is a System directory.
And Xcopy cannot copy from (this) system directories
When I use xcopy with a normal user directory as source then everything works.
But Command Prompt in general rejects to work with system directories.
Try this basic command:
Code: Select all
cd /d “%AppData%\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar”
It fails too
Any chance to bypass this restriction?