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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Saving Searches from Windows Explorer

Status
Not open for further replies.

DQR

Technical User
Dec 18, 2002
30
GB
I want to save the list of files generated by a search using Windows Explorer, together with their full paths, directly to an ASCII file (which I then want to access from another application). I can't see an easy way to do this. Can anyone tell me how it can be done, or if it can't via Explorer, suggest an alternative way I can achieve the same result using any of the better-known Microsoft packages? I'll write a VB routine to search every possible folder, subfolder, subsubfolder etc if necessary, but if there's an easier way, I'd prefer to use it instead.

Many thanks for any help offered,
DQR
 
if you do it in a cmd prompt window as a batch file e.g.

dir filename.exe /s /b >> filelist.log

you can use the .log file in your application

/b means abbreviated, in that it just lists
path and filename e.g.
c:\winnt\fonts\mtextra.ttf

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top