Jump to content

_FileListToArray, Cant get it to work.


AzKay
 Share

Recommended Posts

Ive tryed:

$Dir = InputBox("Directory", "Directory:")
    $DirList = _FileListToArray($Dir)
    If IsArray($DirList) Then
        GUICtrlSetData($ConsoleEdit, _ArrayDisplay($DirList, "") & @CRLF)
    Else
        MsgBox(0, "Error", "Error: " & @Error)
    EndIf
oÝ÷ Ø    Ýjëh×6
    $Dir = InputBox("Directory", "Directory:")
    $DirList = _FileListToArray($Dir)
    If IsArray($DirList) Then
        For $i = 1 To $DirList[0]
        GUICtrlSetData($ConsoleEdit, $DirList[$i] & @CRLF)
        Next
    Else
        MsgBox(0, "Error", "Error: " & @Error)
    EndIf
oÝ÷ Ù:ºÚ"µÍÜ    ÌÍÚHHHÈ
ÌÂ

EDIT::

Okai, I went and checked the directory, and it seems, its writing them all, except, it replaces the first line always, it doesnt go to the next line.

Edited by AzKay
# MY LOVE FOR YOU... IS LIKE A TRUCK- #
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...