Windows command line for delete specific files with extension


Some time we want to delete some specific file or we facing issue of virus in our computer that time we have to delete that specific file manually

If we want to delete all .exe file together from selected folder than we have to use following command.

D:\Jainish> del /S *.exe

It mean it will delete all exe file from Jainish folder from From D Drive.

If you want to delete jpg file than used “D:\Jainish> del /S *.jpg”

If you have any query then feel free to contact me at Jainish Senjaliya

 

 

Leave a comment