Jump to content

Problem with _FileListToArray


erloyaamit
 Share

Recommended Posts

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
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...