Jump to content
Sign in to follow this  
mladost1

_FileListToArray issue

Recommended Posts

Sorry to bother again with this question...there was an explanation in the forum but I did not quite get it. I want to list al the files on my desktop using the simple code

$desk=_FileListToArray(@DesktopDir,"*",1)

I do not want any specific file I just want to get the freaking array with all the files onyl :) What should I change (I tried with

$desk=_FileListToArray(@DesktopDir,"",1)

and got the same error....

Edited by mladost1

Share this post


Link to post
Share on other sites

Well the first one will work just fine (the * means all files)

You did include File.au3 in your script?


Broken link? PM me and I'll send you the file!

Share this post


Link to post
Share on other sites

#include <file.au3>
$Desk = _FileListToArray(@DesktopDir, "*", 1)

Edited by DarkMatter

[sub]Quantum mechanics: The dreams stuff is made of[/sub]

Share this post


Link to post
Share on other sites

Well the first one will work just fine (the * means all files)

You did include File.au3 in your script?

:):D Oh my god I knew it would be easy, but not that much :party:. Thanks dude !:)

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...