malinduta Posted May 5, 2006 Share Posted May 5, 2006 Hello..., Here is my question: I want to copy all files and subfolders from a given folder to a given path. I already have a UDF that finds all files from all subfolders. My problem is I don`t know how to create destination subfolders. I don`t want to use DirCopy because i want to use a progress bar that shows where current file is copied. I already tryed _PathSplit and _PathMake but no success. Any ideas? Link to comment Share on other sites More sharing options...
Valuater Posted May 5, 2006 Share Posted May 5, 2006 you cam search scripts and scrapts for "copy with progress" there are a few 8) Link to comment Share on other sites More sharing options...
Developers Jos Posted May 5, 2006 Developers Share Posted May 5, 2006 you cam search scripts and scrapts for "copy with progress"there are a few8)Filecopy() in Beta has an option to create the target directory... SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
malinduta Posted May 5, 2006 Author Share Posted May 5, 2006 Filecopy() in Beta has an option to create the target directory...But how to tell AutoIt what subdirs to create and in what dir? Link to comment Share on other sites More sharing options...
Developers Jos Posted May 5, 2006 Developers Share Posted May 5, 2006 But how to tell AutoIt what subdirs to create and in what dir?You say you have an UDF that reads all the source directories, so can you use the source directory as part of the target ? SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted May 5, 2006 Moderators Share Posted May 5, 2006 But how to tell AutoIt what subdirs to create and in what dir?You can store your desired "sub" directory's in an array, then create them like that, or if your using the file name for the "sub" directory then use string manipulation to create your new "sub" directory name. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
malinduta Posted May 5, 2006 Author Share Posted May 5, 2006 You say you have an UDF that reads all the source directories, so can you use the source directory as part of the target ?I tried this with _PathMake and _PathSplit but no success.Thank you all for such fast replyes. I wasn`t expected. 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