Command line to view text file

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
YossiD
Junior Member
Junior Member
Posts: 9
Joined: 2011-04-05, 05:40 UTC

Command line to view text file

Post by *YossiD »

I'm trying to create a Windows shortcut that will open a text file using the Total Commander viewer. Does Total Commander have a command line switch to support that?
User avatar
Stefan2
Power Member
Power Member
Posts: 4155
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Re: Command line to view text file

Post by *Stefan2 »

YossiD wrote: 2020-07-30, 09:55 UTC Does Total Commander have a command line switch to support that?
- Open Help
- go to Configuration and Switches > Command line parameters
- - - read >> "Start Lister directly, pass file name to it .. . . ."

That?

There are quit some examples posted in the forum.

Do you need more help?



 
User avatar
petermad
Power Member
Power Member
Posts: 14796
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Command line to view text file

Post by *petermad »

Does Total Commander have a command line switch to support that?

Code: Select all

/S=L
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48079
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Command line to view text file

Post by *ghisler(Author) »

Yes, please have a look at the help, section 4a. The base parameter to launch the viewer is /S=L, but it has many more options like choosing how to view the file.
Author of Total Commander
https://www.ghisler.com
Post Reply