Sign in to follow this  
Followers 0
stev379

DirCopy won't copy subdir's

2 posts in this topic

This will eventually be a small install for a small program. The problem is the program will be on a CD and I can't use the entire path for the source files since I don't know what letter someone's CD drive will be.

That being said, I can't get this to copy the subdirectories and files.

The au3 script sits in the same directory as the source folder (ie. I:\DirCopy.au3 and I:\Sourcedir)

I:\ is a local drive and not a mapped network drive.

What am I missing?

DirCreate(@DesktopDir & "\Dstintiondir")

DirCopy("Sourcedir", @DesktopDir & "\Dstintiondir")

I've tried putting the full path in for the sourcedir for testing and that won't copy the subdir's and files either.

DirCopy("I:\Sourcedir", @DesktopDir & "\Dstintiondir")

Any help or suggestions are greatly appreciated for this simple task. :">

Share this post


Link to post
Share on other sites



DirCopy("Sourcedir", @DesktopDir & "\Dstintiondir",1)


Start -> Programs -> AutoIt v3 -> AutoIt Help File -> Index -> (The Function you are asking about)----- Links -----DllStruct UDFsRSA Crypto UDFs

Share this post


Link to post
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
Sign in to follow this  
Followers 0