solved [TC 11.00b1] parameters for cm_copy not working from command line

Bug reports will be moved here when the described bug has been fixed

Moderators: Hacker, petermad, Stefan2, white

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

solved [TC 11.00b1] parameters for cm_copy not working from command line

Post by *petermad »

The new parameters for CM_COPY, CM_RENMOV and CM_CREATESHORTCUT does not work when used in TC's command line.
Last edited by petermad on 2023-05-10, 16:38 UTC, edited 1 time in total.
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
ghisler(Author)
Site Admin
Site Admin
Posts: 50421
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 11.00b1] parameters for cm_copy not working from command line

Post by *ghisler(Author) »

This is indeed not supported for any command with more complex parameters.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 16021
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [TC 11.00b1] parameters for cm_copy not working from command line

Post by *petermad »

2ghisler(Author)
OK.

Is it on purpose that those parameters are case sensitive (only works in uppercase)?
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
AntonyD
Power Member
Power Member
Posts: 1563
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

Re: [TC 11.00b1] parameters for cm_copy not working from command line

Post by *AntonyD »

Topic named '[TC 11.00b1]....' but exists in 'TC10.x bug reports (English)' sub-forum?
Maybe we need to move it?
#146217 personal license
User avatar
petermad
Power Member
Power Member
Posts: 16021
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [TC 11.00b1] parameters for cm_copy not working from command line

Post by *petermad »

Topic named '[TC 11.00b1]....' but exists in 'TC10.x bug reports (English)' sub-forum?
That is not correct.

EDIT - I have been informed that it was correct, but that the tr´thread was silently moved by moerator - sorry.
Last edited by petermad on 2023-05-05, 18:33 UTC, edited 1 time in total.
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
ghisler(Author)
Site Admin
Site Admin
Posts: 50421
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 11.00b1] parameters for cm_copy not working from command line

Post by *ghisler(Author) »

Is it on purpose that those parameters are case sensitive (only works in uppercase)?
Yes, because otherwise you couldn't launch a program with that name any more (except by explicitly adding .exe or so).
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 16021
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [TC 11.00b1] parameters for cm_copy not working from command line

Post by *petermad »

Yes, because otherwise you couldn't launch a program with that name any more (except by explicitly adding .exe or so).
:?: :?: :?: I was referring to the cm_Copy parameters /PVB1B2SHAGTW why do they have to be in uppercase?
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
ghisler(Author)
Site Admin
Site Admin
Posts: 50421
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 11.00b1] parameters for cm_copy not working from command line

Post by *ghisler(Author) »

The parameters in the button bar like %N and %n are also case sensitive.
Would it be better to make the cm_Copy parameters case insentive?
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 16021
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [TC 11.00b1] parameters for cm_copy not working from command line

Post by *petermad »

The parameters in the button bar like %N and %n are also case sensitive
That makes sense, because they have differnent meanings.
Would it be better to make the cm_Copy parameters case insentive?
I think so. The only two other command that use alphanumeric paramers OPENATTRIBUTES and ZIPFROMLIST use case insensitive parameters.
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
ghisler(Author)
Site Admin
Site Admin
Posts: 50421
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 11.00b1] parameters for cm_copy not working from command line

Post by *ghisler(Author) »

OK, it's easy to add.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 16021
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [TC 11.00b1] parameters for cm_copy not working from command line

Post by *petermad »

history.txt wrote:08.05.23 Fixed: cm_copy: The parameters are now case insensitive (lowercase also supported) (32/64)
Confirmed fixed in TC 11.00b2 :-)

I would still have liked it to also work from command line.
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
Post Reply