Share via

Attrib Command

Anonymous
2022-07-18T08:24:36+00:00

I heard attrib command can delete virus. I haven't try this command before. If I use attrib command to delete virus in system32 by deleting S H R in command prompt. Is attrib command by deleting S H R in system32 in command prompt will damage my PC?

Windows for home | Windows 11 | Security and privacy

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Anonymous
    2022-07-18T08:59:25+00:00

    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!

    2 people found this answer helpful.
    0 comments No comments