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

Messenger log files

Status
Not open for further replies.

retrodans

Programmer
Dec 13, 2005
15
GB
I need to somehow have director scan the log director for my messenger, load up each txt file, take out the relevant information, and put it all into a seperate txt file.

Any help would be appreciated, but my main question is how to get director to open each log that's in a folder into a text field without knowing the .txt files name.

Thankyou for your time
Daniel Duke
 
You can get a list of files in a specific directory using BuddyAPI "baFileList" function.

[tt]-- outputs the list of all TXT files in the C:\WINDOWS directory
put baFileList("c:\windows", "*.txt*")
--[/tt]

Kenneth Kawamoto
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top