kisniper Posted September 13, 2006 Posted September 13, 2006 Hi, In the windows dir I want to delete all the dirs beginning with $ and ending with $. This dirs are old temp install dirs that are unuseful. Someone here can tell me how to use the $ in a file name? Thnx for the help! Ruud
Xenobiologist Posted September 13, 2006 Posted September 13, 2006 Hi, #Include <File.au3> #Include <Array.au3> $path = "c:\Downloads\AutoIt-Skripte\Entwicklung\ForumTests" $FileList = _FileListToArray($path, "$*$", 2) If (Not IsArray($FileList)) and (@error = 1) Then MsgBox(0, "", "No Files\Folders Found.") Exit EndIf _ArrayDisplay($FileList, "$FileList") For $i= 1 To UBound($FileList) - 1 DirRemove($path & "\" & $FileList[$i]) Next 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
kisniper Posted September 13, 2006 Author Posted September 13, 2006 Thank you! Going to test it tomorrow myself!
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