Code: Select all
SAVESELECTION c:\list.txt
Moderators: Hacker, petermad, Stefan2, white
Code: Select all
SAVESELECTION c:\list.txt
Code: Select all
cm_SaveSelectionToFile c:\test.txt
Hi,bogordo wrote: 2020-02-05, 20:43 UTC Hi, can't find how the new Save/loadselection commands work, tried this but no luck:
Any clues there?? thanks!!Code: Select all
SAVESELECTION c:\list.txt
To this point there are very interesting solutions from petermad - look here.bogordo wrote: 2020-02-05, 20:58 UTC Ok So it is likebut the TXT is not write directly, instead i get a dialog to put a name and click Save...Code: Select all
cm_SaveSelectionToFile c:\test.txt
![]()
Yep, they are marked/selected first, but i get the dialog, no direct writing/saving....tuska wrote: 2020-02-05, 22:04 UTCHi,bogordo wrote: 2020-02-05, 20:43 UTC Hi, can't find how the new Save/loadselection commands work, tried this but no luck:
Any clues there?? thanks!!Code: Select all
SAVESELECTION c:\list.txt
First mark the files and then press the button.
Code: Select all
SAVESELECTION c:\list.txt
Code: Select all
TOTALCMD#BAR#DATA
*%COMMANDER_EXE%
%Z/N %X"%P" "%T"
%COMMANDER_PATH%\TCMADM64.EXE
TC as Admin || Start separate TC instance with admin rights... |PC name + ^ appears in title bar |*%COMMANDER_EXE% %Z/N %X"%P" "%T"|https://ghisler.ch/board/viewtopic.php?t=49620
-1
What other behaviour did you expect ?tuska wrote: 2020-02-06, 16:46 UTC I had to start TC as administrator - only then I could create "c:\list.txt".
...
Yes, you're right.
Code: Select all
SAVESELECTION Path\to\list.txt
LOADSELECTION Path\to\list.txt
D:\Testfolder\Folder1\1.jpg
D:\Testfolder\Folder1\2.jpg
D:\Testfolder\Folder1\3.jpg
D:\Testfolder\Folder1\4.jpg
D:\Testfolder\Folder1\5.jpg
D:\Testfolder\Folder1\6.jpg
D:\Testfolder\Folder1\7.jpg
Code: Select all
[em_ext_saveselection]
cmd=SAVESELECTION
param="%PSELECTEDFILES.txt"
menu=Save file names in the file SELECTEDFILES.txt
Code: Select all
[em_ext_loadselection]
cmd=LOADSELECTION
param="%PSELECTEDFILES.txt"
menu=Get file names from the file SELECTEDFILES.txt
Enter cm_CommandBrowser in the command line of TC and press <ENTER>.bogordo wrote:BTW i can't get woking:
A_ Using "cm_SaveSelectionToFile c:\test.txt" stills get save dialog (even running in Admin mode).
For me, it works as described above.bogordo wrote:B_ "SAVESELECTION c:\list.txt" doe snot work at all, "File not found!" error.