Gerry CJ Cornell: I can't speak for others, but I want to delete it because my antivirus app found two worms in it that are in archives. The antivirus app cannot expand the archives, so I will delete it.
Now as for your commands, why do they affect all the files on the drive? My screen is running through tens of thousands of files changing the attributes. Is that really necessary or did you goof?
Assuming that this doesn't wreck my system by changing attributes of every file, I want to ask about directory names with spaces. How does your "rd "System Volume Information" /S" work without telling the shell that the spaces are part of the directory name?
Oh, wait... the " " marks do that, right?
Hi ans666
It's not a good idea to use those commands, since they effect the entire drive. You can see what each command will do by opening a command prompt, typing: attrib /? and pressing Enter. Here is a brief summary.
F:>attrib -s -h /S /D
F:>attrib -r /S /D
These 2 commands remove the System, Hidden, and Read Only attributes from all Files and Folders on the F: drive.
F:>rd "System Volume Information" /S
This command removes the SVI folder.
There is a much easier way to remove the contents of the SVI folder.
Open Control Panel / System.
On the left side menu, select System Protection.
In the System Protection Properties dialog, look in the Protection Settings section and select the drive you want to configure.
Click the Configure Button. In the configure window, click the Delete Button at the bottom.
You can also Turn System Restore off for that drive, in that same window.
Regards,
Ronnie Vernon MVP – Windows Desktop Experience