Jump to content
Sign in to follow this  
yabune

How to copy a Dir with FileSelectFolder

Recommended Posts

yabune

Anyone can give me an example of how to copy a Directory to another by selecting the source folder with the FileSelectFolder?

I tried but didn't work... I had to replace with a code constant.

Thanks!

Share this post


Link to post
Share on other sites
Danny35d

This is some quit and dirty code but you can get the idea and build from here

$Source = FileSelectFolder('Select Source Folder', '', 2)
$Target = FileSelectFolder('Select Target Folder', '', 1)

DirCopy($Source, $Target, 1)

AutoIt Scripts:NetPrinter - Network Printer UtilityRobocopyGUI - GUI interface for M$ robocopy command line

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  

×