I wonder if I can copy files in different folders in the same time.
EX : I have a file F and I like to copy it in folders A, B and C just with one command.
Is that possible ?
Thank You
Sorry, my English is really bad
The first item. I have some files and I always copy them to the same 3 foldersStefan wrote:How do you like it to work?
Select one file and execute a script to copy it to always the same three folders?
Code: Select all
$dstFolders = <<<>>>
D:\test\1
D:\test\2
D:\test\3
>>>;
setting "BackgroundFileOps", 0;
$items = get("SelectedItemsPathNames", "|");
if !($items) { status "No items selected, aborted...", "", "stop"; end 1==1; }
foreach($folder, $dstFolders, "<crlf>") {
if !(exists($folder)) { new($folder, "dir"); }
copyto $folder, $items;
}