why different commands with the same ID number ?

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
xiaomm250
Junior Member
Junior Member
Posts: 25
Joined: 2021-12-03, 09:43 UTC

why different commands with the same ID number ?

Post by *xiaomm250 »

in C:\Users\Administrator\AppData\Local\TotalCMD64\TotalCMD.inc file , we can find three rows as follow

[________________Security________________]=0
cm_EditPermissionInfo=2200;Permissions dialog (NTFS)
cm_EditPersmissionInfo=2200;Typo...

but they are different ,and with the same ID number=2200,why ?
User avatar
Gral
Power Member
Power Member
Posts: 1600
Joined: 2005-01-26, 15:12 UTC

Re: why different commands with the same ID number ?

Post by *Gral »

"Typo" - that's explanation. Typo in first version, left for compatibility.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50550
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: why different commands with the same ID number ?

Post by *ghisler(Author) »

It's left in there for people who have buttons with the misspelled version cm_EditPersmissionInfo.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 16032
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: why different commands with the same ID number ?

Post by *petermad »

2ghisler(Author)
The cm_EditPersmissionInfo was introduced with TC 450 in 2000, it was replaced by cm_EditPermissionInfo in TC 453 in 2001 - that is now more than 20 years ago - maybe time to remove the typo-line in totalcmd.inc - if anybody has the mispelled cm_EditPersmissionInfo in their setup, they can hardly be beginners with TC, and would know what to do.
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
Hacker
Moderator
Moderator
Posts: 13142
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Re: why different commands with the same ID number ?

Post by *Hacker »

petermad,
time to remove the typo-line in totalcmd.inc
While I don't disagree, I don't see a benefit in removing it, either.
A little known fact - my Total Commander Menu Editor silently corrected the command if it was found.

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.
Post Reply