Answers for "cmd delete folder and all contents"

2

batch delete folder

# NOTE: for cmd/batch/DOS only (not bash/Linux)

# EXAMPLE:
rmdir /s /q "C:\Users\TomDickHarry\DeletableStuff"

# SYNTAX
# rmdir /s /q "<your-folder-to-delete>"
Posted by: Guest on June-15-2020
0

delete all files in a directory cmd

del /S C:\Path\to\directory\*
Posted by: Guest on October-23-2020
0

remove folder with content cmd

rmdir folder/path /S /Q
Posted by: Guest on November-24-2020
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

cmd delete folder and all contents

del /S C:\Path\to\directory\*
Posted by: Guest on October-12-2021

Code answers related to "cmd delete folder and all contents"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language