Computer Hope

Microsoft => Microsoft DOS => Topic started by: jas11hng on June 10, 2004, 06:33:02 PM

Title: deleting hidden files in DOS
Post by: jas11hng on June 10, 2004, 06:33:02 PM
how in the world can i delete hidden files in DOS?
i dont know where to start ???
Title: Re: deleting hidden files in DOS
Post by: PCgeek8080 on July 28, 2004, 08:50:05 AM
Just use del and the name of the file
Title: Re: deleting hidden files in DOS
Post by: MalikTous on July 28, 2004, 12:17:22 PM
Sample file is c:\directory\file.txt, with read-only, hidden, and/or system bits set.

Use commands:

attrib -r -h -s c:\directory\file.txt
del c:\directory\file.txt


to delete the file, otherwise DEL returns an error.