Results 1 to 22 of 22

Thread: Delete all subdirectories except two?

Threaded View

  1. #7

    Thread Starter
    Lively Member
    Join Date
    Sep 2000
    Location
    San Jose, CA
    Posts
    73

    I'll try it......

    I am getting ready to compile and try this.

    Just wondering if it will delete subdirectories in those directories?


    Like this.....

    Administrator: 'not deleted
    Default User: 'not deleted
    All Users: 'not deleted
    'Below will be deleted

    username1
    ..username1subfolder1
    ....textfile
    ....subfolder1subfolder
    ....textfile
    ..username1subfolder2
    ....subfolder2subfolder
    ....textfile

    username2
    ..username2subfolder1
    ....subfolder1subfolder
    ..username2subfolder2
    ....subfolder2subfolder

    That is directories inside directories inside directories.

    Suppose I'll find out in a few minutes....


    aatwell
    Last edited by aatwell; Mar 15th, 2001 at 12:53 PM.
    ======================================
    Coding C on Fedora Core 6 [gcc compiler]
    Coding VB on Windows XP [Visual Studio 6 compiler]

Posting Permissions

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



Click Here to Expand Forum to Full Width