Selective deletion
Results 1 to 4 of 4

Thread: Selective deletion

Threaded View

  1. #1
    Join Date
    Jun 2001
    Location
    Jacksonville,Fl,USA
    Posts
    341

    Selective deletion

    Here's another seemingly simple question that's eluding me.

    I know that if I want to delete all the text files in a directory
    I can just type:

    del *.txt

    But what if I want to delete everything except the text
    files? Or to make matters more complicated, I want to delete
    everything except files that end in .txt or .bat?

    Thanks all, Dexahol

    P.S. I should add, this is on a pure DOS 6.22 machine, so there's no multiple selection capabilty of File Manager.
    Last edited by Dexahol; February 14th, 2003 at 09:09 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •