Answers for "delete file dos and folder in cmd"

5

cmd delete folder

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

# EXAMPLE:
rmdir /s /q "C:UsersTomDickHarryDeletableStuff"

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

delete file with cmd

Note** The deleted file will not be store in the recycle bin
del /Q *filename.extension*  --This will delete only specific file in a current dir

del /Q *.txt*  --This will delete all file with .txt 

del /Q *.*  --This will delete all file, except folder
Posted by: Guest on September-19-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language