Home > OS >  Batch file wildcard matching suffix
Batch file wildcard matching suffix

Time:11-04

With del command used when deleting the specified suffix "*. ABC" matching files, but it will reduce the suffix for "*. The abcd" also delete, how to delete only. ABC and not delete. The abcd file?

CodePudding user response:

Suffix is abcd file actually has an alias, the suffix is ABC, this is the first to compatible with 8.3 short file name, this problem can only want to other way.
All file names listed first, and then use the excel screening, generate batch del command to execute a single file.

CodePudding user response:

Use wildcards "*. Ab?"
  • Related