tc selection fastcopy error "too many files selected"
Moderators: Hacker, petermad, Stefan2, white
tc selection fastcopy error "too many files selected"
Hi
i have created a full portable tc 64 and 32bit a custom button for fastcopy portable 64bit and 32bit , i have copied both inside the tc rootfolder
for the custom button 64bit
%COMMANDER_PATH%\FastCopy.exe /no_exec /open_window /cmd=noex
%P%S /to="%T"
start path empty
i have selected 1800 files and 140 folders , cliched on the custom fastcopy button and i get "Too many files selected!"
is a TC limit or a fast copy limit ?
I guess it's a tc limit or custom button limit ? Because I can drag and drop the same selection to fastcopy without any errors
thanks
same screenshot on different hosts because some users have issues to see them
Image: https://i.imgur.com/mmbBJdh.png
Image: https://ibb.co/kJ3nt18
Image: https://i.postimg.cc/05Bg015G/Image-1.png
i have created a full portable tc 64 and 32bit a custom button for fastcopy portable 64bit and 32bit , i have copied both inside the tc rootfolder
for the custom button 64bit
%COMMANDER_PATH%\FastCopy.exe /no_exec /open_window /cmd=noex
%P%S /to="%T"
start path empty
i have selected 1800 files and 140 folders , cliched on the custom fastcopy button and i get "Too many files selected!"
is a TC limit or a fast copy limit ?
I guess it's a tc limit or custom button limit ? Because I can drag and drop the same selection to fastcopy without any errors
thanks
same screenshot on different hosts because some users have issues to see them
Image: https://i.imgur.com/mmbBJdh.png
Image: https://ibb.co/kJ3nt18
Image: https://i.postimg.cc/05Bg015G/Image-1.png
love Total Commander , best file manager ever made
Re: tc selection fastcopy error "too many files selected"
Drag and drop is not the same as a command line, which has limits.
I use TeraCopy for this which has no such limits and uses parameters with a file list from TC.
For example the following for a copy
Move *"%UL" "%T"
I use TeraCopy for this which has no such limits and uses parameters with a file list from TC.
For example the following for a copy
Move *"%UL" "%T"
Windows 11 Home, Version 24H2 (OS Build 26100.4061)
TC 11.55 RC2 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.4 x64
TC 11.55 RC2 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.4 x64
Re: tc selection fastcopy error "too many files selected"
It's a command line length limitation. In TC this is limited to 2047 characters
but Windows also has some limit.
See if FastCopy allows to provide the files via a list file, preferably in Unicode (UTF-16 or UTF-8) form to avoid code page issues. If so, you can use TC's %WL or %UL button parameters.
Regards
Dalai
Code: Select all
16.09.11 Release Total Commander 8.0 public beta 1 (32/64)
[...]
05.06.11 Fixed: Button bar: Parameter field was limited to 259 characters -> increased to 2047 (2 kbyte minus terminating 0) (32/64)
See if FastCopy allows to provide the files via a list file, preferably in Unicode (UTF-16 or UTF-8) form to avoid code page issues. If so, you can use TC's %WL or %UL button parameters.
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
Re: tc selection fastcopy error "too many files selected"
Even if TC didn't have a limit to its parameters length Windows has a limit of 8191 characters to its command line - that means the each of your 1800 file names could not be much longer that 4 characters - including path!
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
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
Re: tc selection fastcopy error "too many files selected"
Using %S will populate command line and reach windows limitation !
With fastcopy, you can use /srcfile_w=%WL or /srcfile=%UL to pass longer file list see help on command line. if you have some issues because TC delete temp file before fascopy process and prepare the task, you can first copy tmp file then call fastcopy.
With fastcopy, you can use /srcfile_w=%WL or /srcfile=%UL to pass longer file list see help on command line. if you have some issues because TC delete temp file before fascopy process and prepare the task, you can first copy tmp file then call fastcopy.
Re: tc selection fastcopy error "too many files selected"
Dalai wrote: 2022-01-07, 21:15 UTC It's a command line length limitation. In TC this is limited to 2047 charactersbut Windows also has some limit.Code: Select all
16.09.11 Release Total Commander 8.0 public beta 1 (32/64) [...] 05.06.11 Fixed: Button bar: Parameter field was limited to 259 characters -> increased to 2047 (2 kbyte minus terminating 0) (32/64)
See if FastCopy allows to provide the files via a list file, preferably in Unicode (UTF-16 or UTF-8) form to avoid code page issues. If so, you can use TC's %WL or %UL button parameters.
Regards
Dalai
hipetermad wrote: 2022-01-07, 22:22 UTC Even if TC didn't have a limit to its parameters length Windows has a limit of 8191 characters to its command line - that means the each of your 1800 file names could not be much longer that 4 characters - including path!
you (both) are right , i can select all folders and files via tc and drag and drop but fastcopy source list it's incomplete
See if FastCopy allows to provide the files via a list file, preferably in Unicode (UTF-16 or UTF-8) form to avoid code page issues. If so, you can use TC's %WL or %UL button parameters.
hi , no luck
love Total Commander , best file manager ever made
Re: tc selection fastcopy error "too many files selected"
HiHorst.Epp wrote: 2022-01-07, 19:32 UTC Drag and drop is not the same as a command line, which has limits.
I use TeraCopy for this which has no such limits and uses parameters with a file list from TC.
For example the following for a copy
Move *"%UL" "%T"
Teracopy is not portable , it left hidden folder and file in the user folder , like Obsidium x64 folder inside roaming and another hidden folder .obs64
the last version should be 3.9 but on the homepage under download there is only 3.8.5 in installation version and zip portable version
about the last version 3.9 ,it's under news ,only installation version , tried i does give the possibility to perform a portable version
and seems to be no so faster than windows file explorer copy , watch the youtube video ->> Windows 10 vs SuperCopier 5 vs FastCopy vs ExtremeCopy vs Teracopy 101 GB Multi file
can't find supercopier 5 , i guess it's ultracopier
thanks
love Total Commander , best file manager ever made
Re: tc selection fastcopy error "too many files selected"
Drag 'n drop put all file in the command line and is not the same as clicking on a button or using a shortcut. No way to use the Drag'n drop for so long list !giulia wrote: 2022-01-08, 09:02 UTChipetermad wrote: 2022-01-07, 22:22 UTC Even if TC didn't have a limit to its parameters length Windows has a limit of 8191 characters to its command line - that means the each of your 1800 file names could not be much longer that 4 characters - including path!
you (both) are right , i can select all folders and files via tc and drag and drop but fastcopy source list it's incompleteSee if FastCopy allows to provide the files via a list file, preferably in Unicode (UTF-16 or UTF-8) form to avoid code page issues. If so, you can use TC's %WL or %UL button parameters.
hi , no luck
I use a button on TC that work like a charm with %WL, but i never use drag 'n drop !
// adapt to your needs options and fastcopy path if you just want to create such button !
"%T\" is used to protect last quote against last backslash inserted with %T.
Code: Select all
TOTALCMD#BAR#DATA
C:\tools\FastCopy\FastCopy.exe
/srcfile_w="%WL" /no_exec /to="%T\"
C:\tools\FastCopy\FastCopy.exe
FastCopy
C:\tools\FastCopy\
-1
Re: tc selection fastcopy error "too many files selected"
Drag 'n drop put all file in the command line and is not the same as clicking on a button or using a shortcut. No way to use the Drag'n drop for so long list !
I use a button on TC that work like a charm with %WL, but i never use drag 'n drop !
// adapt to your needs options and fastcopy path if you just want to create such button !
"%T\" is used to protect last quote against last backslash inserted with %T.
Code: Select all
TOTALCMD#BAR#DATA
C:\tools\FastCopy\FastCopy.exe
/srcfile_w="%WL" /no_exec /to="%T\"
C:\tools\FastCopy\FastCopy.exe
FastCopy
C:\tools\FastCopy\
-1
It works
I have used this and it works , but it add a slash on the destination , for example if the destination is X: , on Fastcopy on destination there is X:\\
do you think it's a problem have 2 \\ ?
thanks Nsp , appreciate it a lot
seeing i use TC portable on a usb , i have used %COMMANDER_PATH%
Code: Select all
TOTALCMD#BAR#DATA
%COMMANDER_PATH%\FastCopy.exe
/srcfile_w="%WL" /no_exec /to="%T\"
%COMMANDER_PATH%\FastCopy.exe
FastCopy
%COMMANDER_PATH%
-1
love Total Commander , best file manager ever made
Re: tc selection fastcopy error "too many files selected"
Remove the \ from the parameter /to="%T\"
This is not needed
This is not needed
Windows 11 Home, Version 24H2 (OS Build 26100.4061)
TC 11.55 RC2 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.4 x64
TC 11.55 RC2 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.4 x64
Re: tc selection fastcopy error "too many files selected"
Hi
yes !
thanks
love Total Commander , best file manager ever made