xcaliber13

FileCopy Question

3 posts in this topic

#1 ·  Posted

I have a question about the FileCopy command.    In a Windows Batch file I use

copy /b  mytextfiles*.txt CombinedTextFiles.txt

This copies all text files named mytextfiles*. txt to CombinedTextFiles.txt.    The /b makes this happen.

Now my question.   Is there anyway in AutoIt  FileCopy or some other command to do the same thing?    I looked in the help files and searched the forum but could not find an answer to my question. 

Any help would be great.

Thank you

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Easiest way is probably to keep on using that copy command and run it from AutoIt3. The other option is to Read & Write-Append the files with AutoIt3 commands.

Jos

Edited by Jos

Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

#3 ·  Posted

Jos,

          Yeah,  just what I was thinking but just wanted to be sure that I was not missing something.

Thank you

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