Paste button to buttonbar: Icon is not shown

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: Hacker, petermad, Stefan2, white

User avatar
Boofo
Power Member
Power Member
Posts: 1431
Joined: 2003-02-11, 00:29 UTC
Location: Des Moines, IA (USA)
Contact:

Post by *Boofo »

Yeah, I read the hint but I wasn't selecting files. I was selecting folders. I was just curious about it as I had not seen a button like that before. I thought you had to do it in a CMD file. Pretty slick little idea, sir. ;)
chmod a+x /bin/laden -- Allows anyone the permission to execute /bin/laden

How do I un-overwrite all my data?

User of Total Commander
#60471 Single user license
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Boofo wrote:Yeah, I read the hint but I wasn't selecting files. I was selecting folders. I was just curious about it as I had not seen a button like that before. I thought you had to do it in a CMD file. Pretty slick little idea, sir. ;)
Idea is not mine, I've just suggested corrected command line for this idea specified in first post (that processes folders too, not just files).
But I think you agree that button exchange via Internet is good idea. E.g. on Russian board there is a big topic to exchange button codes (and to ask new ones).
User avatar
Balderstrom
Power Member
Power Member
Posts: 2148
Joined: 2005-10-11, 10:10 UTC

Post by *Balderstrom »

@Boofo, it is a command-line
Open up a command-prompt,
SET comspec

ComSpec=C:\WIN2K\system32\cmd.exe
User avatar
Boofo
Power Member
Power Member
Posts: 1431
Joined: 2003-02-11, 00:29 UTC
Location: Des Moines, IA (USA)
Contact:

Post by *Boofo »

2MVV,

Yes, I do agree with button exchanging via the Internet. I've gotten some of my best button codes over the net, mostly from here.

2Balderstrom

I meant I thought it had to be in a CMD file to work. I didn't realize you could do it in a button.
chmod a+x /bin/laden -- Allows anyone the permission to execute /bin/laden

How do I un-overwrite all my data?

User of Total Commander
#60471 Single user license
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Boofo wrote:I meant I thought it had to be in a CMD file to work. I didn't realize you could do it in a button.
Just type into a console: cmd /? - and you'll know more about /C and /K parameters (one of them executes command and closes console, another one leaves console running after executing command line). :wink:
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50541
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I think it is not so hard to remove trailing spaces
Actually there may be situations where there actually is a trailing space, so for now I will keep it as it is.
Author of Total Commander
https://www.ghisler.com
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

I'm sorry but I don't understand where space after icon index may be used, and why index wrongly detected if there is a space after it (or some problem in some other place?).
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50541
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Maybe if the file name ends with a space, and no index is given? There are so many possibilities, I cannot simply cut all the spaces or new bugs will result.
Author of Total Commander
https://www.ghisler.com
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Well, I don't suggest to cut spaces anymore, I just can't understand why TC cannot show icon its line looks like this:
MVV wrote:<path_to_icon>,<icon_index><buggy_space>
Here filename ends at comma, index ends at space, there should be no errors at all, but we have one.

BTW, if I add trailing space to any other line including "TOTALCMD#BAR#DATA" or hint line, TC cuts it w/o any troubles. :)
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Three years has gone, this bug still confuses users.
Post Reply