Feature request: Increase command line length

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
foxidrive
Junior Member
Junior Member
Posts: 90
Joined: 2004-02-28, 11:50 UTC

Feature request: Increase command line length

Post by *foxidrive »

TC provides a fantastic way of adding multiple filenames, with or without paths, to the command line for use with batch files.

Unfortunately the length of the command line is severely restricted - can this limitation be alleviated?

The current limits in TC appear to be:
Using Enter: 258 characters
Using Shift Enter: 116 characters

Windows 2000 has a limit of 2047 characters and
Windows XP has a limit of 8191 characters, which is shown here:
http://support.microsoft.com/default.aspx?scid=kb;en-us;830473

I'm not suggesting that 8191 be implemented, but perhaps the limit of W2K (2047) or even 1024?

Comments, anyone?
User avatar
pdavit
Power Member
Power Member
Posts: 1529
Joined: 2003-02-05, 21:41 UTC
Location: Kavala -> Greece -> Europe -> Earth -> Solar System -> Milky Way -> Space
Contact:

Post by *pdavit »

It should be though implemented in a more sophisticated way than just increasing the limit since TC functions on Win9x OSs as well.
"My only reason for still using M$ Window$ as an OS is the existence of Total Commander!"
Christian Ghisler Rules!!!
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48093
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I will check that - currently it's limited because some programs may crash with command lines longer than 259 characters.
Author of Total Commander
https://www.ghisler.com
IGL
Member
Member
Posts: 179
Joined: 2004-02-26, 10:47 UTC
Location: Poland

Post by *IGL »

It was mentioned somewhere else, but I would like to put this suggestion in here.
It has nothing to do with number of characters but has influence on view of this field.
Could the size of Command Line field be extended - path on the left could be made smaller or even disappear - so that command line field is wider.
:-)
User avatar
Hacker
Moderator
Moderator
Posts: 13068
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

Well, I personally would like it to dynamically adapt to the path length...
But that wish has been here before and Christian knows about it. (Doesn't mean we can't bring it up again...)

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
grigsoft2
Junior Member
Junior Member
Posts: 4
Joined: 2006-02-03, 10:34 UTC
Contact:

Post by *grigsoft2 »

Hello,
I've just wanted to remind Christian of the topic - almost 2 years has passed, but command line length is still limited. What is more important, same limitation applies when passing parameters to external tools - total line length could not exceed ap. 260 characters, even in 6.54.
Christian, are you planning to change this?

Thank you!
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48093
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I will put it on my to do list for TC v7, thanks for reminding me.
Author of Total Commander
https://www.ghisler.com
Post Reply