How to: Convert a file into System file

System files have some special characteristics.
Sometimes it is necessary to convert a normal file into system file, for example, If you want to set a background photo to a folder, then you have to create a 'desktop.ini' file, which must be converted into system file in order to make it working.
First open cmd prompt.
Change pointer to required path using cd command.
Eg: cd /d c:\

Use this Command to convert your file:
attrib +s
Eg: attrib +s desktop.ini

If you want to hide that file, just use this command instead of above:
attrib +s +h

Shorthand: attrib +s +h "c:\desktop.ini"

No comments:

Post a Comment

Thank you for commenting. Please keep visiting.