How to delete executable using DOS command

Closed
sweet13 - 11 Feb 2012 à 21:20
kuttusram Posts 25 Registration date Tuesday 14 February 2012 Status Member Last seen 9 March 2012 - 14 Feb 2012 à 22:16
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
Related:

1 response

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