Sanjay Sharma

Sanjay Sharma

  • 1.3k
  • 413
  • 27.7k

Delete Files commandline

Aug 8 2023 11:39 AM

I have to delete all *.pdf files under folder and its subfolders using command prompt.
Del *.pdf /s/q works .
But if any one of the file is having long name it fails and also not ignored and moves further.
Any idea?


Answers (6)