tyraelo Posted October 20, 2011 Share Posted October 20, 2011 hello this is my code : Dircreate("C:\Maxime\fichiers")<br>DirCopy("H:\","C:\Maxime\fichiers")<br>Filecopy("H:\","C:\Maxime\fichiers")<br>Exit The func File copy take all file and copy in the path C:\Maxime\fichiers I dont understand why the func " Dir copy" don't copy all the folder in "C:\Maxime\fichiers" .... The help say that we must say the folder name's but i want take all folder and put them in C:\Maxime\fichiers. How can i do to copy all file / folder in C:\Maxime\fichiers. Thanks Link to comment Share on other sites More sharing options...
Skitty Posted October 21, 2011 Share Posted October 21, 2011 hello this is my code : Dircreate("C:\Maxime\fichiers")<br>DirCopy("H:\","C:\Maxime\fichiers")<br>Filecopy("H:\","C:\Maxime\fichiers")<br>Exit The func File copy take all file and copy in the path C:\Maxime\fichiers I dont understand why the func " Dir copy" don't copy all the folder in "C:\Maxime\fichiers" .... The help say that we must say the folder name's but i want take all folder and put them in C:\Maxime\fichiers. How can i do to copy all file / folder in C:\Maxime\fichiers. Thanks Directory copy also copies the files in the directory specified. You don't have to create the directory structure before copying anything. Link to comment Share on other sites More sharing options...
JohnOne Posted October 21, 2011 Share Posted October 21, 2011 Perhaps you don't have permission to read/write to that folder, try it using folders on your desktop or try adding #RequireAdmin. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. 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