Cyber Posted January 29, 2007 Share Posted January 29, 2007 (edited) I search in example area but i dont found this script I need too map a directorys and files in a txt file can you please help me? Thanks! Edited January 29, 2007 by Cyber Console Browse: Navigate on the WEB in a textual consoleMultiPing!: Show computer on the lan and/or show the local/remote task, ALL animated!KillaWin: Event executingCryptPage: Crypt your webpage and show only with key Link to comment Share on other sites More sharing options...
Xenobiologist Posted January 29, 2007 Share Posted January 29, 2007 Hi, please explain a bit more and show us what you got. So long, Mega Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times Link to comment Share on other sites More sharing options...
Cyber Posted January 29, 2007 Author Share Posted January 29, 2007 (edited) Example directory programs txt file: programs ----autoit -------- autoit2 ------------- autoit2.exe ---------autoit.exe ---------autoit.dll -----games ----------starcraft ---------------stacraft.exe ----------------main.ini ecc.... Edited January 29, 2007 by Cyber Console Browse: Navigate on the WEB in a textual consoleMultiPing!: Show computer on the lan and/or show the local/remote task, ALL animated!KillaWin: Event executingCryptPage: Crypt your webpage and show only with key Link to comment Share on other sites More sharing options...
gear Posted January 30, 2007 Share Posted January 30, 2007 The following is the function to find all the folders within a specified directory, including all the sub-folders at any sub-levels. if you also want to get all the files, you just need to change or add a little code to the function. Func ListAllFolder($Folder, $MaxFolderDepth) $FolderList = _FileListToArray($Folder, "*", 2);only finf folders If IsArray($FolderList) And $FolderList[0] >= 1 Then For $j = 1 To $FolderList[0] _ArrayAdd($AllFolderList, $Folder & "\" & $FolderList[$j]) $AllFolderList[0] = $AllFolderList[0] + 1 Next EndIf $FolderCountDepth = StringReplace($Folder, "\", "");test how deep of the current folder depth $DepthNumber = StringLen($Folder) - StringLen($FolderCountDepth);count the folder depth If $DepthNumber <= $MaxFolderDepth Then $rrr = 999 If IsArray($FolderList) And $FolderList[0] >= 1 And $DepthNumber <= $MaxFolderDepth Then For $j = 1 To $FolderList[0] ListAllFolder($Folder & "\" & $FolderList[$j], $MaxFolderDepth) Next EndIf EndFunc gear Link to comment Share on other sites More sharing options...
Cyber Posted January 30, 2007 Author Share Posted January 30, 2007 FANTASTIC! GREAT! THANKS! Console Browse: Navigate on the WEB in a textual consoleMultiPing!: Show computer on the lan and/or show the local/remote task, ALL animated!KillaWin: Event executingCryptPage: Crypt your webpage and show only with key 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