Folder itself need "Read only" attribute to "apply" settings defined in desktop.ini xcopy has removed the original "Read Only" attribute.
I checked, and the box was still checked But how can I prevent the attribute from being "modified" ? Thanks
@migascalp Same problem with robocopy and this command robocopy D:\Utilitaires\Sauvegarde\Favorites C:\Users\tistou\Favorites /s /e The attribute doesn't change, I think (same as before) Thanks for your help
I think I found it Try Code: xcopy D:\Tests\Favorites C:\Users\tistou\Favorites /s /e /h attrib +r -s -h C:\Users\tistou\Favorites /S /D
I think the "/S" argument is superfluous, and shouldn't be included at the attrib operation. There is no need for: My two cents. Thank you.
@migascalp I tested this and it's good Code: xcopy D:\Tests\Favorites C:\Users\tistou\Favorites /e attrib +r -s -h C:\Users\tistou\Favorites /s /d Thanks so much