Jump to content

Recommended Posts

Posted (edited)

Hello

For example:

I want to copy just *.ico files from c:Windows and from its all subfolders to d:myFolder

what is the quick way? without using xcopy

And FileCopy does not do it for me.   :

Edited by mohammadezazi
Posted (edited)

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

Posted (edited)

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

 

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
  • Recently Browsing   0 members

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