Results 1 to 5 of 5

Thread: DOS piping

  1. #1
    Senior Member
    Join Date
    Jul 2001

    DOS piping

    I am looking for something that will do piping in DOS. For example, here is what I want to do, I want to search a network volume for all files containing the following Ba*.wbk, I want for it to search and delete these files on the fly.

    I know how to do this in Unix, but how would I do this in a Windows/DOS enviroment. Any help would be appreciated.

  2. #2
    I'd rather be fishing DjM's Avatar
    Join Date
    Aug 2001
    The Great White North
    This is VERY basic, but you might be able to try something like this:

    First, map the volume to a drive (e.g. drive R)

    cd R:
    dir Ba*.wbk > deletelog.log (this will give you a log file of what your going to delete)
    del Ba*.wbk (this should delete everything)

    As you can tell, I haven't given this much thought, so you'll want to test.


  3. #3
    AntiOnline Senior Member souleman's Avatar
    Join Date
    Oct 2001
    Flint, MI
    mount the filesystem from unix
    \"Ignorance is bliss....
    but only for your enemy\"
    -- souleman

  4. #4
    Senior Member
    Join Date
    Jul 2001
    Now that actually is a good idea soule, that I could do. I will bring a linux laptop here tomorrow
    You\'re either a 0 or a 1, alive or dead

  5. #5
    Junior Member
    Join Date
    Mar 2002
    Oceanside, CA
    If you did want to do the search/delete from DOS you could use SST by Keith Ledbetter. The following command would probably work:

    sst ba*.wbk -v

    SST is a very powerful command line tool. I'm sure a Google search would find the last version, 1991 I think.
    "I forgive you for those unkind words Molesworth"

Posting Permissions

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