File Attribute

  • Thread starter Thread starter Diane Walker
  • Start date Start date
D

Diane Walker

What is the command to setup the file attribute to Read only? I want to put
this command in a batch file so that after the file is copied, the file will
have the attribute of Read only.

Thanks.
 
Thank you very much.

Dave Patrick said:
attrib +R D:\somefile.xxx

--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

Diane Walker said:
What is the command to setup the file attribute to Read only? I want to
put
this command in a batch file so that after the file is copied, the file
will
have the attribute of Read only.

Thanks.
 
Back
Top