macro Descr="ShiftAltF5 copy selected files with restoration folders" Area="Shell" Key="ShiftAltF5" Cond="CmdLine:0"
{{
%i=1;
$While (%i<=APanel.SelCount)
panel.setposidx(0,%i,1)
$If (index(panel.item(0,0,0),"\\\\")==0)
ShiftF5 print(panel.item(0,0,0)) Home Del print(PPanel.Path) Enter
$Else
$If (index(panel.item(0,0,0),":\\")==1)
ShiftF5 print(panel.item(0,0,0)) Home Del Del print(PPanel.Path) Enter
$Else
ShiftF5 print(PPanel.Path) \ print(panel.item(0,0,0)) Enter
$End
$End
%i=%i+1;
$End
}}
в папке открытой на пассивной панели, восстановит структуру папок, содержащуюся в путях копируемых файлов.