Searching a set of folders

  • Thread starter Thread starter bg_ie
  • Start date Start date
B

bg_ie

Hi,

I have 3 different folders on my machine which I often conduct a
search on for a specific file. How can I automate this process so that
I dont have to navigate to each folder seperately before doing 3
seperate searches?

Thanks,

Barry.
 
Hi,

I have 3 different folders on my machine which I often conduct a
search on for a specific file. How can I automate this process so that
I dont have to navigate to each folder seperately before doing 3
seperate searches?

Thanks,

Barry.

What exactly do you mean with "search for a specific file"?
- Do you want to find out where a specific file resides?
- Is it always the same file name?
- What do you do with it when you've found it?
- What do you do if it exists in two folders?
 
What exactly do you mean with "search for a specific file"?
- Do you want to find out where a specific file resides?
- Is it always the same file name?
- What do you do with it when you've found it?
- What do you do if it exists in two folders?

I have a framework which exists in a number of folders accross
different parts of the C drive. I often need to find certain files or
files with certain extensions etc. which exist somewhere in this
framework. So for example, lets say my framework consists of -

C:/Folder1
C:/Folder7
C:/Folder12

and all their sub directories, and not -

C:/Winnt
C:/Folder2

etc. So lets say today I want to find the files called out*.log in my
framework, then I need to search each of the 3 above folders
individually. Id like to be able to search this directories in one go.

Thanks,

Barry.
 
I have a framework which exists in a number of folders accross
different parts of the C drive. I often need to find certain files or
files with certain extensions etc. which exist somewhere in this
framework. So for example, lets say my framework consists of -

C:/Folder1
C:/Folder7
C:/Folder12

and all their sub directories, and not -

C:/Winnt
C:/Folder2

etc. So lets say today I want to find the files called out*.log in my
framework, then I need to search each of the 3 above folders
individually. Id like to be able to search this directories in one go.

Thanks,

Barry.

This gives me a better idea but you still haven't answered
three of my four questions.
 
This gives me a better idea but you still haven't answered
three of my four questions.- Dölj citerad text -

- Visa citerad text -

Thanks again for the reply.
I want to run the file when I find it. For example, if im looking for
an excel file then excel should open it once it is found. Having said
that, I might wish to find a number of files. Fore example, all files
modified today. The windows search utility is perfect for this as it
lists all the files that match you requirements, but I only know how
to use it for one folder (and those folders located within this
folder).

- Is it always the same file name?
No.

- What do you do with it when you've found it?
Run it, or view the contents of its folder.

- What do you do if it exists in two folders?

I want all matches listed just as you would aquire using the search
utility.
 
This gives me a better idea but you still haven't answered
three of my four questions.- Dölj citerad text -

- Visa citerad text -

Thanks again for the reply.
I want to run the file when I find it. For example, if im looking for
an excel file then excel should open it once it is found. Having said
that, I might wish to find a number of files. Fore example, all files
modified today. The windows search utility is perfect for this as it
lists all the files that match you requirements, but I only know how
to use it for one folder (and those folders located within this
folder).

- Is it always the same file name?
No.

- What do you do with it when you've found it?
Run it, or view the contents of its folder.

- What do you do if it exists in two folders?

I want all matches listed just as you would aquire using the search
utility.

============================

What you want to do can be achieved with a batch file. However,
it would be quite complex and therefore difficult for you to maintain.

A simpler approach consists of you arranging your folders inside
one and the same parent folder. This means that you have to run
just one single search each time.
 
Back
Top