Jump to content

problem with file copy and dir copy


tyraelo
 Share

Recommended Posts

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

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

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