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 Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s