Jump to content
Sign in to follow this  
erloyaamit

Problem with _FileListToArray

Recommended Posts

erloyaamit

I m trying to code that will list all folders listed in any specific path.

Per syntax of _FileListToArray , default shows all files and folders.

$FileList=_FileListToArray(@DesktopDir)

while $iFlag = 1 or 2 shows only files or folders. I want list of folders only in that specific path.

I tried changing values of $iFlag but it's showing nothing.

#Include <File.au3>

#Include <Array.au3>

$FileList=_FileListToArray(@DesktopDir, $iFlag = 1)

_ArrayDisplay($FileList,"$FileList")

Where is the mistake?

Edited by erloyaamit

Share this post


Link to post
Share on other sites
Valuater

I always liked this because it is instantaneous and allows someone to select a folder... or not

You can select the starting/root folder also.

$var = FileSelectFolder("Choose a folder.... Or not?!?", "")

8)

Edited by Valuater

NEWHeader1.png

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  

×