Drew Posted April 29, 2008 Share Posted April 29, 2008 What I need to do , is FileInstall multiple files into the script. Quite a few. Well , all but 2 end in .dll as their name. Is there a way to do something like this: FileInstall( @DeskTopCommonDir& "\D2War_Files\*.dll", ........... etc.) Making it FileInstall everything in folder -> D2War_Files that end in .dll? I've looked in the helpfile and tried a few things , none putting forth much but errors. If this is possible , please help. Link to comment Share on other sites More sharing options...
Achilles Posted April 29, 2008 Share Posted April 29, 2008 The source path of the file to compile. This must be a literal string; it cannot be a variable.From the helpfile, you can't use: @DesktopCommonDir or any $vars... My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list] Link to comment Share on other sites More sharing options...
Drew Posted April 29, 2008 Author Share Posted April 29, 2008 (edited) I knew that , I typed my example in haste; thanks for the reply none-the-less. But aside from that... Is there a way of going about this without having to do an individual FileInstall Line for every .dll file? Theres quite a few. Edited April 29, 2008 by Drew Link to comment Share on other sites More sharing options...
covaks Posted April 29, 2008 Share Posted April 29, 2008 Just a thought.. But what if you used FileInstall with say, rar.exe, and a files.rar. Then your script extracts both of them when it's run, and Run()'s the rar.exe. That way you could have all the files extract where they are needed. Link to comment Share on other sites More sharing options...
Achilles Posted April 29, 2008 Share Posted April 29, 2008 (edited) Sorry I can't find it but I know Smoke_N made something like FolderInstall... If you have time you could look for it in example scripts.Edit: http://www.autoitscript.com/forum/index.ph...;hl=FileInstall Edited April 29, 2008 by Achilles My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list] 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