lister file association
Moderators: Hacker, petermad, Stefan2, white
lister file association
how can i make the lister open *.txt files when i double-click on them?
i've tried but when i open the *.txt the only thing that happens its opening a new total commander window..karlchen wrote:Hello, ipwn.
You go to Files => Internal Associations (Total Commander only) ...
Then you add an internal association for *.txt and assign it the commandline posted by tpr.
Kind regards,
Karl
i've managed to download lister (lister32.zip) and i assign *.txt to lister, can this be the solution?
Hello, ipwn.
I guess I have not checked the given commandline well enough before suggesting to use.
It should read The option /O will make sure that the internal lister will be opend by the running Total Commander instance and that no second Total Commander instance will be launched.
Kind regards,
Karl
I guess I have not checked the given commandline well enough before suggesting to use.

It should read
Code: Select all
"%COMMANDER_PATH%\totalcmd.exe" /O /S=L "%1"
Kind regards,
Karl
Hello, ipwn.
Anybody who is running a more recent Total Commander version has got the T.C. internal variable %COMMANDER_PATH%. It points to the Total Commander programme folder. Therefore, it is alright to navigate to the file totalcmd.exe and use the hardcoded pathname instead of the variable.
Assuming you have installed T.C. inside "C:\Programe Files\Totalcmd" the commandline will be
The difference between the two commandlines is that this commandline will only work in case Total Commander has been installed in "C:\Program files\Totalcmd", whereas the commandline will always work no matter which folder Totalcmd.exe lives in.
And make sure that inside Total Commander you use Files => Internal Associations (Total Commander Only)... and NOT Associate With ...
Kind regards,
Karl
Anybody who is running a more recent Total Commander version has got the T.C. internal variable %COMMANDER_PATH%. It points to the Total Commander programme folder. Therefore, it is alright to navigate to the file totalcmd.exe and use the hardcoded pathname instead of the variable.
Assuming you have installed T.C. inside "C:\Programe Files\Totalcmd" the commandline will be
Code: Select all
"C:\Programe Files\Totalcmd\totalcmd.exe" /O /S=L "%1"
Code: Select all
"C:\Programe Files\Totalcmd\totalcmd.exe" /O /S=L "%1"
Code: Select all
"%COMMANDER_PATH%\totalcmd.exe" /O /S=L "%1"
And make sure that inside Total Commander you use Files => Internal Associations (Total Commander Only)... and NOT Associate With ...
Kind regards,
Karl
Congratulations
*.TXT in Total Commander
You have got two choices:
Kind regards,
Karl
- Total Commander internal associations have been added in Total Commander v7.50. So T.C. internal file associations did not exist in Total Commander 7.03, yet. The current version is v7.56a, by the way.
- By using Associate with ... and messing around with it, you have very likely screwed up the Windows wide association of *.txt with the programme which used to open whenever you double clicked on a .TXT file inside Explorer.
*.TXT in Total Commander
You have got two choices:
- Stick with Total Commander 7.03 and simply put up with pressing <F3> on a .TXT file in order to make lister come up and display the file.
- Download Total Commander v7.56a. And perform an Update installation.
The update is free of cost.
The update installation makes sure that all your current Total Commander settings will be preserved unmodified.
Having updated to Total Commander v7.56a, you will be able to create a Total Commander internal association for *.TXT and tell it to run the commandline which I gave you.
Kind regards,
Karl
No, natively there isn't any such option. Lister itself is a read-only file viewer.
Yet, again you have got the choice:
If you insist on using lister, then you can enhance its features by using a Total Commander lister plugin which can display and edit files, e.g. SynWrite.
If you'd rather use a standalone text editor, there are tons of them out there: PsPad if you want it fully featured or Notepad2 if you like it small.
Karl
Yet, again you have got the choice:
If you insist on using lister, then you can enhance its features by using a Total Commander lister plugin which can display and edit files, e.g. SynWrite.
If you'd rather use a standalone text editor, there are tons of them out there: PsPad if you want it fully featured or Notepad2 if you like it small.
Karl
Good morning, ipwn.
May we assume that you have - one way or other - achieved your goal? For curiosity reasons: may we know what your solution is?
Have you upgraded to T.C. 7.56.a and created a Total Commander internal association for *.txt which opens the internal list whenever you double-click a .txt file?
Or are you clinging to Total Commander 7.03 and have created a Windows system-wide association which will launch the external T.C. lister whenever you double-click a .txt file?
Kind regards,
Karl
May we assume that you have - one way or other - achieved your goal? For curiosity reasons: may we know what your solution is?
Have you upgraded to T.C. 7.56.a and created a Total Commander internal association for *.txt which opens the internal list whenever you double-click a .txt file?
Or are you clinging to Total Commander 7.03 and have created a Windows system-wide association which will launch the external T.C. lister whenever you double-click a .txt file?
Kind regards,
Karl