Sign in to follow this  
Followers 0
Wolvereness

File Mapper

6 posts in this topic

This script takes any directory you put the script into, then creates AU3Log.txt.

This file will have every single file that exists withen the script directory including sub-directories. This script took me about a day with the small help of Larry.

The file has a ReadMe, the source, and a compiled (passworded) version. Please do not edit the .au3 file to take out the name, but you may use peices of this script freely for your own personal scripts.

This is similar to the _FileSearch but this script puts it ALL into a .txt file so you just go into the file and press Ctrl+f to find a file you want.


Offering any help to anyone (to my capabilities of course)Want to say thanks? Click here! [quote name='Albert Einstein']Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.[/quote][quote name='Wolvereness' date='7:35PM Central, Jan 11, 2005']I'm NEVER wrong, I call it something else[/quote]

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

So it something like:

$sFolder = '';<- Put the folder where look for here
If StringRight($sFolder,1) <> '\' Then $sFolder = $sFolder & '\'

$aFiles = _FileSearch($sFolder,1);Ezzetabi version, just because I am not sure how the Larry's one works with no criteria.

$sMsg = ''
For $c = 1 to $aFiles[0]
    $sMsg = $sMsg & $aFiles[$c] & @CRLF
Next
FileWrite('FilesList.txt',$iMsg)

Edit: Ehi! The .zip is corrupt. Or it is just me?

Edited by ezzetabi

Share this post


Link to post
Share on other sites

PowerArchiver can't open the file.

Share this post


Link to post
Share on other sites

So I guess IT IS corrupt.

Welcome in the $Post >= 1000 people SlimShady. :)

Share this post


Link to post
Share on other sites

Yes it is corrupt. But why would you password the compiled exe if you include the source?

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

I don't know what happened to the file, it was working earlier. I don't know why I passworded the .exe either... Guess I was really tired.

Here is the .zip again.

And I don't get this...

So it something like:

$sFolder = '';<- Put the folder where look for here
If StringRight($sFolder,1) <> '\' Then $sFolder = $sFolder & '\'

$aFiles = _FileSearch($sFolder,1);Ezzetabi version, just because I am not sure how the Larry's one works with no criteria.

$sMsg = ''
For $c = 1 to $aFiles[0]
    $sMsg = $sMsg & $aFiles[$c] & @CRLF
Next
FileWrite('FilesList.txt',$iMsg)

Edit: Ehi! The .zip is corrupt. Or it is just me?

<{POST_SNAPBACK}>

That is just gonna be more complicated then the script I have right now... Edited by Wolvereness

Offering any help to anyone (to my capabilities of course)Want to say thanks? Click here! [quote name='Albert Einstein']Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.[/quote][quote name='Wolvereness' date='7:35PM Central, Jan 11, 2005']I'm NEVER wrong, I call it something else[/quote]

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