Windows 11 Tweaks, Fixes and Modifications [Overview]

Discussion in 'Windows 11' started by Enthousiast, Jul 1, 2021.

  1. sonic9

    sonic9 MDL Member

    Aug 4, 2009
    196
    79
    10
    Folder itself need "Read only" attribute to "apply" settings defined in desktop.ini
    xcopy has removed the original "Read Only" attribute.
     
  2. tistou77

    tistou77 MDL Guru

    Mar 22, 2008
    2,015
    651
    90
    I checked, and the box was still checked
    But how can I prevent the attribute from being "modified" ?

    Thanks
     
  3. tistou77

    tistou77 MDL Guru

    Mar 22, 2008
    2,015
    651
    90
  4. tistou77

    tistou77 MDL Guru

    Mar 22, 2008
    2,015
    651
    90
    @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)

    Attrib.PNG

    Thanks for your help
     
  5. Carlos Detweiller

    Carlos Detweiller Emperor of Ice-Cream
    Staff Member

    Dec 21, 2012
    7,143
    8,542
    240
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. migascalp

    migascalp MDL Addicted

    Sep 18, 2009
    502
    860
    30
    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
     
  7. tistou77

    tistou77 MDL Guru

    Mar 22, 2008
    2,015
    651
    90
    Thanks for your help, I'll test
     
  8. NewEraCracker

    NewEraCracker MDL Member

    Apr 19, 2011
    225
    316
    10
    #1950 NewEraCracker, May 30, 2025 at 19:32
    Last edited: May 30, 2025 at 19:39
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. tistou77

    tistou77 MDL Guru

    Mar 22, 2008
    2,015
    651
    90
    @migascalp I tested this and it's good :yeahyeah:
    Code:
    xcopy D:\Tests\Favorites C:\Users\tistou\Favorites /e
    attrib +r -s -h  C:\Users\tistou\Favorites /s /d
    Thanks so much ;)