Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!
Credits 105 Posts 1 Joined 2004-04-17 00:00 22-year member UID 22724 Gender Male
Status Offline
Use the ATTRIB command.
For example, ATTRIB +/-R +/-H followed by the file
+ and - mean add and remove R is the read-only attribute H is the hidden attribute
You can also type ATTRIB/? to see its help
Credits 1,186 Posts 334 Joined 2003-05-30 00:00 23-year member UID 2626 Gender Male
Status Offline
The following is quoted from Michael's post on 2004-4-24 22:37:06:
Do it like this
attrib msdos.sys -r -s -h
Then add whatever attributes you want.
Credits 113 Posts 3 Joined 2004-04-12 00:00 22-year member UID 22347 Gender Male
Status Offline
The following is quoted from Dragon King's post on 2004-5-4 下午 03:03:54:
The following is quoted from Michael's post on 2004-4-24 22:37:06:
Do it like this
attrib msdos.sys -r -s -h
Then add whatever attributes you want.