Answers for "cmd delete all files in folder and subfolders"

0

How to delete dir, subdirectory, fils all in cmd

[destination]rd [deleteable dir] /s

Like:

c:myFolderrd dirName /s
Posted by: Guest on August-02-2021
0

batch delete all files in subfolders of type

del /S *.jpg

del - del command is used delete files from a computer
/S - recurses subdirectories and checks their contents
* - wildcard for the filename
.jpg - the type (extension) wanted
Posted by: Guest on August-21-2021

Code answers related to "cmd delete all files in folder and subfolders"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language