Answers for "batch a directory and delete all files and subfolders files in a another directory"

0

create batch file to delete folders and subfolders

Echo batch file to delete folder

@RD /S /Q "D:testfolder"
Posted by: Guest on June-03-2020
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 "batch a directory and delete all files and subfolders files in a another directory"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language