FG
💻 Software

How do I delete all files within subdirectories matching a given wildcard in Windows?

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

Problem

I would like to delete all files on a Windows server matching this wildcard: In linux, I could just put an in front of it and it would work. If I try something similar in Windows, it just gives me: Any ideas about what I can do?

Error Output

rm -rf

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How do I delete all files within subdirectories matching a given wildcard in Windows?

Low Risk

Use Power Shell, which comes built-in in Win7 for example, rm -rf would translate to:

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment