Jump to content
Sign in to follow this  

DirCopy won't copy subdir's

Recommended Posts

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

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...