Sign in to follow this  
Followers 0
Demon777

Neeeeed Heeeeelp =)

5 posts in this topic

#1 ·  Posted (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 by Demon777

Share this post


Link to post
Share on other sites



Starting code:

_FileListToArray()

Share this post


Link to post
Share on other sites

#3 ·  Posted (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")

Exit

EndIf

and 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 by Demon777

Share this post


Link to post
Share on other sites

No one can help ? =(((((

Share this post


Link to post
Share on other sites

Use the filter man:

_FileListToArray(@ProgramFilesDir,"*.log")

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0