Question about the copied $OEM$ folder

Guys,

I'm copying some portable programs and some files/scripts through the $OEM$\$1 folder, everything is being copied normally, but the files inside the folder are becoming read-only.. would anyone know why or how to solve this?

i_view64_ETcymasvqM.png
 
Last edited:
That's normal behavior, Setup copies all the $OEM$ target files as read-only. Have no idea why, other than to protect them from user removal since a script might have to run very late, or after the first user logon.

Run this from Post-Setup (Machine):
Code:
attrib -r -s C:\folder\*.*
 
That's normal behavior, Setup copies all the $OEM$ target files as read-only. Have no idea why, other than to protect them from user removal since a script might have to run very late, or after the first user logon.

Run this from Post-Setup (Machine):
Code:
attrib -r -s C:\folder\*.*
oh right, thought i was doing something wrong.

I googled this command and found more about it, for my folder with several other folders this one worked:

attrib -r c:\folder\*.* /s

Thank you
 
Back
Top