erloyaamit 0 Posted September 25, 2011 (edited) 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 September 25, 2011 by erloyaamit Share this post Link to post Share on other sites
JohnOne 1,603 Posted September 25, 2011 $FileList=_FileListToArray(@DesktopDir, 2) AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Share this post Link to post Share on other sites
Valuater 130 Posted September 25, 2011 (edited) 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 September 25, 2011 by Valuater Share this post Link to post Share on other sites