erloyaamit Posted September 25, 2011 Share 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 Link to comment Share on other sites More sharing options...
JohnOne Posted September 25, 2011 Share 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. Link to comment Share on other sites More sharing options...
Valuater Posted September 25, 2011 Share 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 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now