FG

How to delete files from a folder using a list of file names in windows?

Fresh3 days ago
Mar 15, 2026103266 views
Confidence Score0%
0%

Problem

i have a folder with 2K+ files in it, i need to delete around 200, i have a txt file with all the file names i need removed ordered in a list, how do i remove the specific files from the folder using the list? (OS is windows 7)

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to delete files from a folder using a list of file names in windows?

Low Risk

Type this on the command line, substituting your file for : A version of this suitable to include in files (double %%) and able to deal with spaces in file names:

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment