I'm trying to deploy shortcuts from xcopy using a batch script to c:\users\all users\desktop
But this is a hidden folder with Hide Protected operating System files
tick box under Folder options.
I need to run a command to allow me access copy a file to this directory.
So far I've tried running attrib -h c:\users\all users\
, but it hasn't helped.
Any help would be greatly appreciated.
xcopy "c:\NOCapps1\Shortcuts*.*" "c:\Users\All Users\Desktop"
this is most likely the error ("All Users" has a space, your profile probably doesn't)