CoderDunn Posted February 7, 2006 Share Posted February 7, 2006 Since you can't use loops and variables for FileInstall(), you either type it yourself or make something type it for you. I'd rather have somthing type it for me, especially if it's over 20 or so files I just started with AutoIt not long ago but I think it's awsome. I may be a noobie but I cousin said it was cool so here you go Try this: Run Script Click Open Folder Select C:\Windows\ Type 1 for Sub Files option Put in some name for dest path like C:\ See how many files it counts up too. Mine went up to 16,002 Hallman Link to comment Share on other sites More sharing options...
Thatsgreat2345 Posted April 22, 2006 Share Posted April 22, 2006 gosh dang dude u take all the fun out of it i was just about to do this Link to comment Share on other sites More sharing options...
RazerM Posted April 22, 2006 Share Posted April 22, 2006 (edited) this makes things a lot easier! I have 9116 files in C:\Windows(including subdirectories) Edit: after i clicked Generate Code this appeared in Scite: >"C:\Program Files\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.exe" /run /beta /ErrorStdOut /in "C:\Documents and Settings\FrazerMcLean\My Documents\AutoIt\test.au3" /autoit3dir "C:\Program Files\AutoIt3\beta" /UserParams >Running AU3Check (1.54.1.1) params: from:C:\Program Files\AutoIt3\beta +>AU3Check ended.rc:0 >Running:(3.1.1.119):C:\Program Files\AutoIt3\beta\autoit3.exe "C:\Documents and Settings\FrazerMcLean\My Documents\AutoIt\test.au3" C:\Documents and Settings\FrazerMcLean\My Documents\AutoIt\test.au3 (386) : ==> Array variable has incorrect number of subscripts or subscript dimension range exceeded.: FileWrite($Open,"FileInstall(""" & $Files[$FileNumber][0] & """,""" & $Files[$FileNumber][1] & """," & $ReadOverwriteflag & ")" & @CRLF & "$percent = " & $PercentTotal & @CRLF & $ExtraCodeRead & @CRLF) FileWrite($Open,"FileInstall(""" & ^ ERROR +>AutoIT3.exe ended.rc:0 >Exit code: 0 Time: 258.301 Edited April 22, 2006 by RazerM My Programs:AInstall - Create a standalone installer for your programUnit Converter - Converts Length, Area, Volume, Weight, Temperature and Pressure to different unitsBinary Clock - Hours, minutes and seconds have 10 columns each to display timeAutoIt Editor - Code Editor with Syntax Highlighting.Laserix Editor & Player - Create, Edit and Play Laserix LevelsLyric Syncer - Create and use Synchronised Lyrics.Connect 4 - 2 Player Connect 4 Game (Local or Online!, Formatted Chat!!)MD5, SHA-1, SHA-256, Tiger and Whirlpool Hash Finder - Dictionary and Brute Force FindCool Text Client - Create Rendered ImageMy UDF's:GUI Enhance - Enhance your GUIs visually.IDEA File Encryption - Encrypt and decrypt files easily! File Rename - Rename files easilyRC4 Text Encryption - Encrypt text using the RC4 AlgorithmPrime Number - Check if a number is primeString Remove - remove lots of strings at onceProgress Bar - made easySound UDF - Play, Pause, Resume, Seek and Stop. 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