Results 1 to 2 of 2

Thread: exclude sub folders

Hybrid View

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jul 2006
    Location
    /root/usr/local/bin
    Posts
    476

    exclude sub folders

    anybody here,
    i want to search in all drives such c:, d:, etc...
    and delete all like extension name .exe files
    EXCLUDING of course C:\WINDOWS and C:\PROGRAM FILES
    and the rest with folders and sub folders will be searched.

    tnk u

  2. #2
    Frenzied Member mar_zim's Avatar
    Join Date
    Feb 2004
    Location
    Toledo Cebu City.
    Posts
    1,416

    Re: exclude sub folders

    Just check if the path != c:\windows and c:\program files do your thing if it's equal then do nothing.

    About searching you could do some google search here's a good way to start http://www.c-sharpcorner.com/UploadF...FilesinCS.aspx

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