QuestionQ75

VerifiedNetwork Forensics and Traffic Analysis

Adam, an expert computer user, doubts that a virus named love.exe has infected his computer. This virus has hidden and read-only attributes, so deleting it is difficult. Adam decides to delete the virus file love.exe from the command line using the del command. Which of the following switches should he use with the del command to delete hidden and read-only files?

Explanation

/f forces deletion of read-only files, while /ah uses attribute selection to target hidden files. Together, these switches allow del to select the hidden file and delete it despite its read-only attribute.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!