Sign in to follow this  
Followers 0
flyingboz

Fileconcatenate

3 posts in this topic

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.

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

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...

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

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.

Share this post


Link to post
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
Sign in to follow this  
Followers 0