Results 1 to 8 of 8

Thread: Searching A Folder

  1. #1

    Thread Starter
    Just Married shakti5385's Avatar
    Join Date
    Mar 2006
    Location
    Udaipur,Rajasthan(INDIA)
    Posts
    3,747

    Wink Searching A Folder

    @Hack can u please tell in ur code what function i used for searching a folder in the drive and what result i get?
    thanks

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Searching A Folder

    Split from this 4 1/2 year old thread.

    What are you searching the folder for?

    Does the folder have sub folders? Do you care about them?
    Last edited by Hack; Aug 25th, 2006 at 10:43 AM.

  3. #3

    Thread Starter
    Just Married shakti5385's Avatar
    Join Date
    Mar 2006
    Location
    Udaipur,Rajasthan(INDIA)
    Posts
    3,747

    Re: Searching A Folder

    i want to search a folder may be available in 2 or 3 sub folder ,And want to get the path of that folder...
    example
    i want to search shakti on d:
    if it is availble in d:\5383 folder then it show me that path =d:\5385\shakti

    thanks

  4. #4
    Fanatic Member Dnereb's Avatar
    Join Date
    Aug 2005
    Location
    Netherlands
    Posts
    863

    Re: Searching A Folder

    Do you mean you want to search for a folder in:

    - All drives on your system?
    - A specific Drive
    - In a folder
    - In a Folder and it's subfolders.
    why can't programmers keep and 31 Oct and 25 dec apart. Why Rating is Useful
    for every question you ask provide an answer on another thread.

  5. #5

  6. #6
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Searching A Folder

    Quote Originally Posted by RhinoBull
    Here is the recursive search by Randy Birch. There are many other samples.
    The one I posted (4 1/2 years ago) was by Brad Martinez.

    So, shakti5385, if Randy Birch or Brad Martinez can't help you out, then I'm fairly certain none of us can either.

  7. #7

  8. #8

    Thread Starter
    Just Married shakti5385's Avatar
    Join Date
    Mar 2006
    Location
    Udaipur,Rajasthan(INDIA)
    Posts
    3,747

    Re: Searching A Folder

    Actually I want to search a folder name shakti in any drive then if it is found then it show me the whole path of the folder
    Like if it is found in D:\ss\tt\shakti
    Then it show me the path that the folder found at d:\ss\tt\shakti

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