DOS command question

  remind 17:04 16 Apr 06

Does anybody know if there's a way of using wildcards to select `all files except` as it were.
For example, if I had folder full of text files, and I only wanted to keep files starting with `a`, how would I achieve that with one command rather than typing del b*.txt, del c*.txt, del d*.txt etc?

  Sibbo 17:32 16 Apr 06

A question mark can be used as a wild card for a specific character.

  Marsh Warden © ™ 17:33 16 Apr 06

I've had a look here click here and I'm not sure if it's possible. Look under "All DOS Commands" and the DEL command and the given examples.

  remind 17:38 16 Apr 06

Thanks both; looks as though the only way is make the files i want read-only, run the *.txt command then unset the read-only bit. Thanks for suggestions.

This thread is now locked and can not be replied to.

Nintendo Switch (Nintendo NX) release date, price, specs and preview trailer: Codename NX console…

1995-2015: How technology has changed the world in 20 years

8 things designers (and brands) need to know about the modern woman

How to speed up a slow Mac: 19 great tips to make an iMac, MacBook or Mac mini run faster | Speed…