Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: deleting hidden files in DOS  (Read 4853 times)

0 Members and 1 Guest are viewing this topic.

jas11hng

  • Guest
deleting hidden files in DOS
« 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 ???

PCgeek8080

  • Guest
Re: deleting hidden files in DOS
« Reply #1 on: July 28, 2004, 08:50:05 AM »
Just use del and the name of the file

MalikTous

  • Guest
Re: deleting hidden files in DOS
« Reply #2 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.