attrib
CautionChange file attributes
attrib -h -s <file>
Sets/clears hidden, system and read-only bits. Classic fix for files hidden by USB malware.
Examples
attrib -h -s /s /d D:\*Unhide everything on a drive
Syntax
attrib [+/-r] [+/-h] [+/-s] <file> [/s /d]
Before you run it
Clear the system bit selectively.
The same reference, with no signal at all
Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.
Get it free on the App Store