Jump to content

Copy just spesific files from a folder and its subfolders


Recommended Posts

Terenz, I don't see how thats going to help him copying those files.

mohammadezazi, use this code:


 

FileCopy("C:\WINDOWS\*.ico", "D:\myFolder\", 9)
Edited by MKISH

----------------------------------------

:bye: Hey there, was I helpful?

----------------------------------------

My Current OS: Win8 PRO (64-bit); Current AutoIt Version: v3.3.8.1

Link to comment
Share on other sites

MKISH,

Next time read better what the OP say:

and from its all subfolders

FileCopy isn't recursive, he need to use RecFileListToArray ( or other recursive search ) and then use FileCopy using the returned array values in a For...Next loop...

Edited by Terenz

Nothing is so strong as gentleness. Nothing is so gentle as real strength

 

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