Jump to content

Fileconcatenate


 Share

Recommended Posts

Hi Folks!

I'm looking for a method to duplicate inside AutoIT the functionality of the command interpreter "copy" command to concatenate files, as in the following

dos command:

copy *.adt adtfiles

I can build an array of files that match my criteria w/ FileFindFirstFile and FileFindNextFile, but am kind of stuck.

The files are huge, so I absolutely don't want to open them and append text.

Reading the help file before you post... Not only will it make you look smarter, it will make you smarter.

Link to comment
Share on other sites

RunWait(@ComSpec & " /c Copy *.adt adtfiles")

Edit: Oops, forgot & symbol.

Edited by Nutster

David Nuttall
Nuttall Computer Consulting

An Aquarius born during the Age of Aquarius

AutoIt allows me to re-invent the wheel so much faster.

I'm off to write a wizard, a wonderful wizard of odd...

Link to comment
Share on other sites

Thanks, Nutster

I still want a concatentate flag on FileCopy, :whistle: ... I'd like to be able to

errorcheck for errors on a per file basis if I could.

Edited by flyingboz

Reading the help file before you post... Not only will it make you look smarter, it will make you smarter.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...