Sign in to follow this  
Followers 0
Didonet

read dir and show results?

5 posts in this topic

How can i read the files in some directory and show the results?

And... can i show only .txt or .mp3 files? Whatever I want?

Share this post


Link to post
Share on other sites



Help file!

Share this post


Link to post
Share on other sites

I'm asking here, because I can't find a result in the help file <_<

I find the functions to read a file, but not to read a dir.

Share this post


Link to post
Share on other sites

I'm asking here, because I can't find a result in the help file <_<

I find the functions to read a file, but not to read a dir.

From the help file

#Include <File.au3>
#Include <Array.au3>
$FileList=_FileListToArray(@DesktopDir)
If @Error=1 Then
    MsgBox (0,"","No Files\Folders Found.")
    Exit
EndIf
_ArrayDisplay($FileList,"$FileList")

"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to build bigger and better idiots. So far, the universe is winning."- Rick Cook

Share this post


Link to post
Share on other sites

uh... thanks... i was searching with other kinds of keywords...

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