dos


[ Follow Ups ] [ Post Followup ] [ The EasyDOS Forum ] [ FAQ ]

Posted by kotresh on May 20, 2011 at 14:29:21:

HOW to delete "autorun.inf" file but not "autorun.inf" folder ?

My batch file aim is :
1. To Check whether any file "autorun.inf" is present or absent
2. If present then i should delete it (forcefully deleting even if its read only)
If there is a folder by name "autorun.inf" it should skip deleting


I'm struck-up in differentiating between file and folder.. ?



Follow Ups:



Post a Followup (use TAB key to move between boxes - NOT ENTER or RETURN)

Name:
E-Mail:

Subject:

Type your comments in the box below and SUBMIT:


[ Follow Ups ] [ Post Followup ] [ The EasyDOS Forum ] [ FAQ ]