By displaying any hidden infections on a partition or drive, CMD aids in the removal of viruses from your computer. You may then remove the questionable files. Since viruses usually try to hide, you must first make them visible before deleting the viral files.