Hello,
i would like to copy a LHA archive to a destination but CopyFile() command extract files...
An idea please ?
Problem with copyfile() and archive
Re: Problem with copyfile() and archive
You have probably installed the XAD plugin globally with the InstallAdapter option (like @REQUIRE "xad", {InstallAdapter = True}), and that's why it uses XAD for CopyFile() too.
You can now bypass that globally installed adapter by using CopyFile() with the Inbuilt adapter like this:
CopyFile("archive.lha", "destination", {Adapter="Inbuilt"})
Other option is to disable the global adapter and then use {Adapter = "xad"} with CopyFile() only when you really need to extract archives.
You can now bypass that globally installed adapter by using CopyFile() with the Inbuilt adapter like this:
CopyFile("archive.lha", "destination", {Adapter="Inbuilt"})
Other option is to disable the global adapter and then use {Adapter = "xad"} with CopyFile() only when you really need to extract archives.
Re: Problem with copyfile() and archive
Thanks jPV!!!