I have a directory with about 1000 files and rather long file names. If I select all the files and I pass them to an application called through a button-bar button (via %S), I get the TC error "Too many files selected!". If I rename the files, so that they have a shorter filename, then I can get over the error. Obviously my original filenames are exceeding the maximum buffer size allowed by the TC. This is quite a nuisance. Is there a setting in the ini file that controls the buffer size allocated for this purpose?
Thanks in advance!
Is it possible to increase the buffer size for the file names?
Moderators: Hacker, petermad, Stefan2, white
Re: Is it possible to increase the buffer size for the file names?
Thats a limit which can't be increased.
The solution is to use parameters like %L %WL and so on (see help).
This produces a temp file with the selected files whos name is given as argument to the program.
Requirement is of course that the program can accept list of files name as parameters.
The solution is to use parameters like %L %WL and so on (see help).
This produces a temp file with the selected files whos name is given as argument to the program.
Requirement is of course that the program can accept list of files name as parameters.
Windows 11 Home, Version 24H2 (OS Build 26100.4351)
TC 11.55 RC7 x64 / x86
Everything 1.5.0.1395a (x64), Everything Toolbar 1.5.5.0, Listary Pro 6.3.2.88
QAP 11.9.0.4 x64
TC 11.55 RC7 x64 / x86
Everything 1.5.0.1395a (x64), Everything Toolbar 1.5.5.0, Listary Pro 6.3.2.88
QAP 11.9.0.4 x64
Re: Is it possible to increase the buffer size for the file names?
It's probably not TC that imposes a limit here. Windows has a maximum command line length limit, in this case most likely the ShellExecuteEx API function.
Use %S only in cases where a list file - created by %L, %UL or %WL - isn't possible.
Regards
Dalai
Use %S only in cases where a list file - created by %L, %UL or %WL - isn't possible.
Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror