How to delete executable using DOS command

Closed
sweet13 - Feb 11, 2012 at 09:20 PM
kuttusram Posts 25 Registration date Tuesday February 14, 2012 Status Member Last seen March 9, 2012 - Feb 14, 2012 at 10:16 PM
Hi.
how to create a batch file using DOS commands in windows/linux that will delete all executable and autorun files in your flash drive. it should also unhide all hidden directories .tnx

1 response

kuttusram Posts 25 Registration date Tuesday February 14, 2012 Status Member Last seen March 9, 2012 4
Feb 14, 2012 at 10:16 PM
CD D: (your USB Drive letter.)
D:
attrib -h -r -s /s /d
del *.exe /s /q


2