mohammadezazi Posted August 2, 2013 Share Posted August 2, 2013 (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 August 2, 2013 by mohammadezazi Link to comment Share on other sites More sharing options...
Terenz Posted August 2, 2013 Share Posted August 2, 2013 Use >RecFileListToArray If you have problem to use it, try the GUI Helper here Nothing is so strong as gentleness. Nothing is so gentle as real strength Link to comment Share on other sites More sharing options...
stormbreaker Posted August 2, 2013 Share Posted August 2, 2013 (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 August 2, 2013 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 More sharing options...
Terenz Posted August 2, 2013 Share Posted August 2, 2013 (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 August 2, 2013 by Terenz Nothing is so strong as gentleness. Nothing is so gentle as real strength Link to comment Share on other sites More sharing options...
mohammadezazi Posted August 2, 2013 Author Share Posted August 2, 2013 Thank you. Thank you. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now