glsmith67 Posted November 19, 2014 Share Posted November 19, 2014 Please help I know when I use the Fileinstall() function it will attach the file I am installing in the compiled script so it can be run on another computer. I am trying to create a install that will move an entire folder and all of its subfolders and files to a new computer. I have tried DirCopy but it only seems to work to move files from one drive to another. I need all of these files compiled into the script. Is there a function or method that can include these in a compiled script? Link to comment Share on other sites More sharing options...
Exit Posted November 19, 2014 Share Posted November 19, 2014 use a ZIP file App: Au3toCmd UDF: _SingleScript() Link to comment Share on other sites More sharing options...
Spider001 Posted November 19, 2014 Share Posted November 19, 2014 (edited) create zip '?do=embed' frameborder='0' data-embedContent>> at to script rebuild zip unzip zip Edited November 19, 2014 by Spider001 Link to comment Share on other sites More sharing options...
jguinch Posted November 19, 2014 Share Posted November 19, 2014 Maybe >FileInstall Directory Helper could be interesting for you ? Spoiler Network configuration UDF, _DirGetSizeByExtension, _UninstallList Firefox ConfigurationArray multi-dimensions, Printer Management UDF Link to comment Share on other sites More sharing options...
rudi Posted December 2, 2014 Share Posted December 2, 2014 (edited) Hi. Not sure, if I get your intention: You want to write a script, that will *MOVE* a directory and all subfolders/-files from computer A to computer B? Then you might want to have a look at the Microsoft Tool "ROBOCOY.EXE" Get the tool (Google, newer windows versions include robocopy.exe), use fileinstall() for windows versions, that do not come with robocopy.exe open a Windows CMD box type "robocopy /???|more" <enter> have a look at the options /mir and /move Note: Robocopy.exe Version "XP026" is the last one giving appropriate EXITCODEs after completing. Starting with the version that was shipped with "RobocopyGUI" the exitcode support was dropped, unfortunately. <edit> WARNING: Use the options /mir and /move very carefully. Robocopy is incredible fast in deleting file system objects! And there won't be any questions like "Do you really ...?" </edit> Regards, Rudi. Edited December 2, 2014 by rudi Earth is flat, pigs can fly, and Nuclear Power is SAFE! 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