New public beta version of lister standalone available

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: Hacker, petermad, Stefan2, white

User avatar
HolgerK
Power Member
Power Member
Posts: 5408
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Post by *HolgerK »

2Samuel

There is one important difference between standalone Lister and calling TC with command line parameter:
lister.txt wrote:This software is copyrighted Freeware.
Copyright © 1992-2007 by Christian Ghisler, C. Ghisler & Co. All Rights Reserved.
Regards
Holger
User avatar
Samuel
Power Member
Power Member
Posts: 1930
Joined: 2003-08-29, 15:44 UTC
Location: Germany, Brandenburg an der Havel
Contact:

Post by *Samuel »

So I wrote: "Probably no need to."

In the TC Forum I assumed the user also have TC installed. (and a valid license)
facinlaburo
Junior Member
Junior Member
Posts: 9
Joined: 2006-06-08, 19:28 UTC

Post by *facinlaburo »

Sorry for reviving this post, but I think it's the best place for my question.
I have TC ini files in program directory, and I sometimes call SALister with its own ini file in its own directory.
SALister version 6.5 reads lsplugin.ini from the same directory as lister.ini in SALister directory.
SALister version 7 creates its own lsplugin.ini in Windows directory.
¿Is there a way to tell SALister 7 that it must use lsplugin.ini from its own directory?
i am a newbie, and i speak spanish; thanks for your patience.
User avatar
karlchen
Power Member
Power Member
Posts: 4605
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

Hello, facinlaburo.

I do not quite understand.
Ghisler's Standalone Lister webpage still talks about Standalone Lister v6.5.
So where did you find Standalone Liser v7?

Kind regards,
Karl
User avatar
petermad
Power Member
Power Member
Posts: 15997
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

So where did you find Standalone Liser v7?
Well the lister.txt file in https://plugins.ghisler.com/addons/lister32.zip says:

12.06.07 Re-built based on Total Commander 7 final
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
karlchen
Power Member
Power Member
Posts: 4605
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

Hello, Petermad.

You are right. The label text on the webpage is outdated. Morever I should have known the answer even without readling lister.txt: Strange guy talking about where to find Standalone Lister v7. (rotflmao)

Karl
User avatar
karlchen
Power Member
Power Member
Posts: 4605
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

What about facinlaburo's questions on the INI files used by the standalone liste v7?

To the best of my knowledge - i.e. I may be wrong - standalone lister has always tried to create and use a wincmd.ini in the %windir% folder.
(The little biest can no longer do so on Vista and above, because I refuse to run T.C. or lister elevated by default.)

I have never seen lister.exe create or use an infi-file named lsplugin.ini. :?

To the best of my knowledge - i.e. I may be wrong - the only way of making lister.exe use a particular ini-file is by passing its path and name on the commandline:
lister.exe /I=path\to\ini_file_name
Karl
User avatar
petermad
Power Member
Power Member
Posts: 15997
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

I have never seen lister.exe create or use an infi-file named lsplugin.ini.
Install for example SVG viewer plugin in SALister - then a lsplugin.ini will be created in the default ini directorty for your OS (c:\windows dir for Windows XP).

And I can't get it to put it anywhere else.
The little biest can no longer do so on Vista and above
I'll check that tomorrow on Win 7
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
facinlaburo
Junior Member
Junior Member
Posts: 9
Joined: 2006-06-08, 19:28 UTC

Post by *facinlaburo »

Thanks for the answers. I'll try to explain with more detail.
The plugins I use in SALister are Imagine, Multimedia Factory, Font, PEViewer, SumatraPDF and Syn.
Font, PEViewer and SumatraPDF creates their own sections in lsplugin.ini.
My lsplugin.ini for TC is in program directory.
My lsplugin.ini for SALister (options are different from TC's one) is in SALister directory. SALister 6.5 reads it OK without any parameter, but SALister 7 doesn't recognize it and creates a new lsplugin.ini in Windows directory.
I wonder if there is a way to tell SALister 7 that it must read lsplugin.ini from its own directory, as 6.5 does. The info file (lister.txt) doesn't say anything about it.
All this on XP SP3.
i am a newbie, and i speak spanish; thanks for your patience.
User avatar
karlchen
Power Member
Power Member
Posts: 4605
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

Hello, petermad.

Creating files in %windir% on Vista, Windows 7 and Server 2008 (R2): provided you are using the default UAC settings and provided you launch lister.exe un-elevated, it cannot write to its favourite %windir%\wincmd.ini. (To the best of my knowledge - but who is going to depend on it? :oops: )

Kind regards,
Karl
User avatar
karlchen
Power Member
Power Member
Posts: 4605
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

Hello, facinlaburo.

Oh, your initial explanation of the problem was clear enough. But thanks for explaining once more nevertheless. :)
It was just me starting to confuse things a bit. :oops:
One source of trouble is that lister.txt which comes with lister.exe really is not too precise on where lister.exe will create/expect the file wincmd.ini and it does not mention lsplugin.ini at all.
I should have added at least one plugin to my lister.exe and find out what lister.exe v7 does before writing a not so helpful reply. :oops:

Kind regards,
Karl
facinlaburo
Junior Member
Junior Member
Posts: 9
Joined: 2006-06-08, 19:28 UTC

Post by *facinlaburo »

Hello, karlchen.
lsplugin.ini is a file that contains settings for some lister plugins. It's created in same directory as wincmd.ini
The file doesn't exist if you're not using a plugin that needs to store its settings. Examples of plugins that stores its settings there are Font, SumatraPDF and PEViewer.
AFAIK, the logical behaviour would be that if SALister uses lister.ini instead of wincmd.ini then it would use its own lsplugin.ini (version 6.5 behaves so). I couldn't manage version 7 to do the same thing.

Got you thinking :wink:

PD: I'm doing all this with administrator privileges.
i am a newbie, and i speak spanish; thanks for your patience.
User avatar
petermad
Power Member
Power Member
Posts: 15997
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2facinlaburo

A workaround:

I you start TC with the /S=L parameter and use an ini-file in a separate directory (not TC's directory) - then TC will start Lister as standalone - AND it will make and use lsplugin.ini in the same directory as the main ini file.

example:

c:\totalcmd\totalcmd.exe /I=c:\mydir\lister.ini /S=L

will use c:\mydir\lsplugin.ini
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
facinlaburo
Junior Member
Junior Member
Posts: 9
Joined: 2006-06-08, 19:28 UTC

Post by *facinlaburo »

Thanks, petermad. :D

I tried your solution and works great.

This way I don't need SALister anymore, I just use internal lister as SALister, with the advantage of having the latest version.
I made a Start Menu entry for my needs -and use it with a hotkey-, that looks like this (just for anyone that may have similar interest):

Code: Select all

%COMMANDER_PATH%\totalcmd.exe /I=%COMMANDER_DRIVE%\UTILS\SALister\lister.ini /S=L
Followed by %P%N
i am a newbie, and i speak spanish; thanks for your patience.
Post Reply