Sign in to follow this  
Followers 0
UknownHacker

SearchFolders

2 posts in this topic

Okay.

Hey UknownHacker here

I need to search a folder for files and folders and search inside those folders for files and folders. etc

I used this code to try to begin with (Example)

#Include <File.au3>

$File1 = _FileListToArray(@ScriptDir & "\", "*", 2)

For $Number1 = 0 to $File1[0]
    $File2 = _FileListToArray(@ScriptDir & "\" & $File1[$Number], "*", 2)
    For $Number2 = 0 to $File2[0]
        $File3 = _FileListToArray(@ScriptDir & "\" & $File1[$Number] & "\" & $File2[$Number2], "*", 2)
    Next
Next

Etc

but it dosent work ?????????

Help Please

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

whatever Edited by MvGulik

"Straight_and_Crooked_Thinking" : A "classic guide to ferreting out untruths, half-truths, and other distortions of facts in political and social discussions."
"The Secrets of Quantum Physics" : New and excellent 2 part documentary on Quantum Physics by Jim Al-Khalili. (Dec 2014)

"Believing what you know ain't so" ...

Knock Knock ...
 

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  
Followers 0