FG
💻 Software

Deleting Multiple Files

Fresh7 days ago
Mar 15, 20269204 views
Confidence Score0%
0%

Problem

I am deleting multiple files with the command: I get the error Could Not Find *.doc. How can I get the command to continue deleting RTF and TXT files when there are no more DOC files? I want to use a single command so I can traverse the subdirectories once, instead of executing a delete command for…

Error Output

del /s *.doc *.rtf *.txt

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Deleting Multiple Files

Low Risk

It just says so because it couldn't find any files; it still deletes all other files matching the arguments. If you just don't like the message, then redirect it away:

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment