I have several folders I'd like to move and 3 separate drives.
Is it possible to create a macro when I move the 1st set of folders and then use the macro to move the folders on the other drives?
Thanks.
Bruce
I have several folders I'd like to move and 3 separate drives.
Is it possible to create a macro when I move the 1st set of folders and then use the macro to move the folders on the other drives?
Thanks.
Bruce
Is it always the same set of folders, & the same set of destinations? If so, you could easily make a button, that selects set 1 of folders to move them to location A, then select set 2 to move it to location B.
it woul also be good to know, if you want to create new folders each time, or just add them to the root drive (as it sounds). So, some more details about the task are needed.
The folders are the same on each drive (the other drives are backups of the 1st drive).
So, how do I go about creating a button that selects folders?
Thanks.
If you want them to be selected automatically, you need some criteria to select them.
@dirsonly
select PATTERN=$name
Should work, but i never understood, why @dirsonly still selects files. So some more help is required here, to explain, how to select only dirs.
Sorry, but this editor doesn't show, what i was typing. Please see the screenshot.
Are we really talking about moving, or copying? Or a combination of moving and copying?
I have 3 drives....the 2nd and 3rd drives are exact copies of the 1st drive.
On the 1st drive I want to move several children folders to different locations on the 1st drive.
On the 2nd and 3rd drive I'd like to duplicate the moving of the children folders on both the 2nd and 3rd drives so they match the 1st drive.
I know I can drag and drop the folders but I'd like to see it there was a better way.
Hope this makes sense.
Try the following code. The first line will move selected files/folders from source to destination as usual. The next two lines will do the same action on drive F:\ and G:. Change the drive letters to your needs.
Copy MOVE
Copy MOVE F:\{filepath|noroot} TO "F:\{destpath|noroot}"
Copy MOVE G:\{filepath|noroot} TO "G:\{destpath|noroot}"
I'm not very good at understanding code so, I ended up moving the folders manually.
Thanks for every ones help.
Bruce
Bruce, please try following. Click on some empty space in the upper part of a lister tool bar, & choose "customize". Then paste following code there (in the right click menu you will have an item "insert", which you would use to insert the code). Then close the window by clicking "OK":
<?xml version="1.0"?>
<button backcol="none" display="label" textcol="none">
<label>Neuer Schalter</label>
<icon1>#newcommand</icon1>
<function type="normal">
<instruction>Copy MOVE</instruction>
<instruction>Copy MOVE F:\{filepath|noroot} TO "F:\{destpath|noroot}"</instruction>
<instruction>Copy MOVE G:\{filepath|noroot} TO "G:\{destpath|noroot}"</instruction>
</function>
</button>