Attrib Command -
C : \ ABC \ Attrib + H ( File Name )
Ex- Z1 Hidden in to Z
attrib +h h5
cd..
tree / f
Answer- Ajay - h1, h2
Vijay- h3, h4
Suresh- h6
2. Unhidden (-h)
Disply the hidden file Z1 in to Z
xyz > cd z
attrib - h z1
cd..
tree / f
For Example- Disply the h5 hidden file in Suresh
Shivam > cd suresh
attrib -h h5
cd..
tree / f
Answer- Ajay - h1, h2
Vijay- h3, h4
Suresh- h5, h6
3. Read Only (+ r)
Ex- Read Only File X1 in X
xyz >cd x
attrib +r x1
edit x1
Go to File - Alt + F
For Exit - Alt + X
For Example- h1 Read Only File in Ajay
Shivam > cd Ajay
attrib +r h1
edit h1
Go to File - Alt + F
For Exit - Alt + X
4. Read and Write (-r)
Ex- Read and write X1 in X
xyz >cd x
attrib -r x1
edit x1
For Example- For Read and Write h1 in Ajay
Shivam > cd Ajay
attrib -r h1
edit h1
----------------------------------------------------------
C : \ ABC \ Attrib + H ( File Name )
+ H - Hidden
- H - Unhidden
+ R - Read Only
- R - Read Write
1. Hidden File- (+h)
Ex- Z1 Hidden in to Z
xyz > cd z
attrib +h z1
cd..
tree / f
For Example- h5 hidden in Suresh
Shivam > cd sureshattrib +h h5
cd..
tree / f
Answer- Ajay - h1, h2
Vijay- h3, h4
Suresh- h6
2. Unhidden (-h)
Disply the hidden file Z1 in to Z
xyz > cd z
attrib - h z1
cd..
tree / f
For Example- Disply the h5 hidden file in Suresh
Shivam > cd suresh
attrib -h h5
cd..
tree / f
Answer- Ajay - h1, h2
Vijay- h3, h4
Suresh- h5, h6
3. Read Only (+ r)
Ex- Read Only File X1 in X
xyz >cd x
attrib +r x1
edit x1
Go to File - Alt + F
For Exit - Alt + X
For Example- h1 Read Only File in Ajay
Shivam > cd Ajay
attrib +r h1
edit h1
Go to File - Alt + F
For Exit - Alt + X
4. Read and Write (-r)
Ex- Read and write X1 in X
xyz >cd x
attrib -r x1
edit x1
For Example- For Read and Write h1 in Ajay
Shivam > cd Ajay
attrib -r h1
edit h1
----------------------------------------------------------
0 Comments:
Post a Comment