Jump to content
xcaliber13

FileCopy Question

Recommended Posts

xcaliber13

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
Jos

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                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
xcaliber13

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

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.