Demon777 Posted January 17, 2008 Share Posted January 17, 2008 (edited) Hello everyone =D I neeeeed heeeelp with FileFindFirstFile... How to make script that will search for one or more files in Programm Files Folder for exampel and open them or write Lines with text in ? like Log Files... ^^ Thx. PS. Have no starting Code. Edited January 17, 2008 by Demon777 Link to comment Share on other sites More sharing options...
weaponx Posted January 17, 2008 Share Posted January 17, 2008 Starting code: _FileListToArray() Link to comment Share on other sites More sharing options...
Demon777 Posted January 17, 2008 Author Share Posted January 17, 2008 (edited) Yay. Thank you m8 but i dont understand it ^^ Can you give me little code for Exampel ? I looked in Help file and didnt understand it.Ok ok... Should it be like this ?#Include <File.au3>#Include <Array.au3>$FileList=_FileListToArray(@ProgramFilesDir)If @Error=1 Then MsgBox(16, "Error", "No Files that are ending on .log Found") ExitEndIfand then ? How to show programm what files i want to search ? Exampel : filename.log or filename.exe or filename.ini ??? So for exampel i want find all .log Files in all Programm Files Folder and in all SubFolders or only in 1 Folder in Programm Files Folder/... So how ?Thx. Edited January 17, 2008 by Demon777 Link to comment Share on other sites More sharing options...
Demon777 Posted January 17, 2008 Author Share Posted January 17, 2008 No one can help ? =((((( Link to comment Share on other sites More sharing options...
Nahuel Posted January 17, 2008 Share Posted January 17, 2008 Use the filter man: _FileListToArray(@ProgramFilesDir,"*.log") Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now