Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

guys, how do i save search results

Status
Not open for further replies.

jrdebug

IS-IT--Management
Apr 18, 2001
126
PH
guys, how do i save search results as i was able to do in Win9x?

thanks in advance.. Jeffrey Rebong
Computer Engineer/Network Administrator
jrtech@email.com
 
Searches as in start find? If thats the case it kinda saves them for you if u start to retype. Like I did a search on magic. next time when when I search I type m and all the m's I did searches on are in a drop down box.

If that's not what you mean sorry I jumped to wrong conclusion. :)
 
thanks K1 but that simply saves the search criteria and not the search results. what i want to be able to do is to be able to save all the search results into one file so that i will not run the search process again. this can be very handy if you are searching through multiple drives with lots of files and folders to go through.

Jeffrey Rebong
Computer Engineer/Network Administrator
jrtech@email.com
 
Hello, jrdebug.

There is indeed a difference in the default setting in savng find/search as you have mentioned, win9x vs win2000. However, even search result is saved win9x way, I find it is not very convenient to use. The only advantage of it is that you can use advanced search features.

If your search does not make use of the advanced search features mentioned above, then the Dir command coupled with wildcard or not, various switches available, and the redirection of output (append or not) to a text file is sometime more convenient and more powerful than gui search facility.

For example, you want to search on C, E, G, H drives from root downward, of files with extension dll, and output the result to c:\found.txt, then the single line command will do :

For %%D in (C,E,G,H) Do dir %%D:\*.dll /s/b >> c:\found.txt

(one single line)

With many switches available to Dir, you can do better than gui search. Say, searching C,E,G,H drives only cannot be set in gui search. But, if you make heavy use of advanced features, then, one has to stick to gui search or else use other utilities.

regards - tsuji
 
thanks tsuji.

my only problem is you do not expect the user to enter that line in the command prompt. if there is a way to do those things in the gui, it would be better.
Jeffrey Rebong
Computer Engineer/Network Administrator
jrtech@email.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top