Page 1 of 1
Switch files A<===>B
Posted: 2013-04-11, 04:02 UTC
by omeganerd
One of the features that would be useful is "switch files" feature. After you select two files, either from the same pane or both panes, then you activate the function and the two files would switch places.
Posted: 2013-04-11, 07:09 UTC
by Vochomurka
Something like:
Parameters: %P %N %T %M
Attention: not tested!
Posted: 2013-04-11, 08:34 UTC
by MVV
Vochomurka,
You need to rename first file, place second one instead of first and then place renamed first instead of second. Three moves total.
So, batch file:
Code: Select all
move "%~1" "%~1.$$tmp"
move "%~2" "%~1"
move "%~1.$$tmp" "%~2"
With parameters
%P%S %T%R. It will use two selected files of active panel (if selection exists in active panel), or focused one from active and selected from inactive (if selection exists in inactive panel), or just two focused files in panels.
Posted: 2013-04-11, 12:16 UTC
by Vochomurka
The topic starter would say which option suits him.