Hi, I have a code to copy/move folders to a specified folder on the
root drive - ie c:\stuff However, I also have the folder "stuff" on
the root of other partitions as well - ie d:\stuff, e:\stuff, etc.
I would like the code to work so that the selected folder for
moving/copying will always go to the "stuff" folder of the drive that
it is on. In other words, if a folder is selected on the d drive, it
will be moved to d:\stuff, if it's on the c: drive, it will be moved
to c:\stuff.
The way the code is now, the path of the destination folder must be
stated specifically in the code.
And the way it works is a browse for folder dialogue comes up to
select the folder to be copied or moved, and after clicking ok, the
move or copy is made, but always to c:\stuff.
any help most appreciated.
tia
gwen
root drive - ie c:\stuff However, I also have the folder "stuff" on
the root of other partitions as well - ie d:\stuff, e:\stuff, etc.
I would like the code to work so that the selected folder for
moving/copying will always go to the "stuff" folder of the drive that
it is on. In other words, if a folder is selected on the d drive, it
will be moved to d:\stuff, if it's on the c: drive, it will be moved
to c:\stuff.
The way the code is now, the path of the destination folder must be
stated specifically in the code.
And the way it works is a browse for folder dialogue comes up to
select the folder to be copied or moved, and after clicking ok, the
move or copy is made, but always to c:\stuff.
any help most appreciated.
tia
gwen
Comment