Hi, thanks for reaching out! Please allow me to assist you.
The attrib command displays, sets, or removes attributes assigned to files or directories. If used without parameters, attrib displays attributes of all files in the current directory. It does not help to scan or delete virus.
You should use an anti-virus solution like Windows Defender if you would like to scan your system for viruses.
https://support.microsoft.com/windows/stay-prot...
Please let me know if I can help you further!