On a MS Based system (Windows, any versions) You can use the attrib
command in order to change the attributes on a specified file, directory or directory with recursively changing the files inside the directory also, the command may look like:
attrib FOLDERNAME -s -r -a -h /S /D
Which will remove any attributes to a specified FOLDERNAME including the files/folders inside of it.
When a Virus modifies these attributes to the files/folders in a removable device (USB/SD Memory/HDD) in order to hidden them from the user, I use my Ubuntu OS Based computer and plug the device in the appropriate slot and I can see all the files/folders and manually remove the undesired items on the device. But I am in need to run to a MS OS Based computer/laptop in order to change the attributes via command line (cmd
) and this way, "bring back" the items visible to the rest of the people.
Ubuntu is having the ability to change the file properties via GUI or chmod
, but I haven't found a way yet to remove the hidden
(attrib -h
) attribute in a file/folder.
Is it there a way to do this? No matters if is a GUI or Terminal
Have a look at fatattr if the disc is
vfat
.Syntax is
The letters are...