DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: ampersand missing..  (Read 10,732 times)

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • Coding Snacks
    • Volunteers/Staff
    • Gathering Badge
    • Participated in NANY Challenge Once
    • Linux User
ampersand missing..
« on: December 22, 2006, 02:19 AM »
mouser,
in folder node, *.lnk files with '&' as part of their name doesn't show the sign. i have to rename the file at source, only then will it show the ampersand..
e.g Tag & Rename.lnk  --> Tag Rename
      Tag && Rename.lnk --> Tag & Rename

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: ampersand missing..
« Reply #1 on: December 22, 2006, 04:28 AM »
nice find!
i will fix.

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • Coding Snacks
    • Volunteers/Staff
    • Gathering Badge
    • Participated in NANY Challenge Once
    • Linux User
Re: ampersand missing..
« Reply #2 on: December 22, 2006, 04:38 AM »
glad to be of help! :)

mimiihu

  • Participant
  • Joined in 2006
  • *
  • Posts: 19
Re: ampersand missing..
« Reply #3 on: December 22, 2006, 03:14 PM »
actually i think this is a default behavior. it happens with "pstart" too, for example.
in windows, the "&" is commonly the variable to assign a shortcut key like this: "&Program" so it appears like Program.
that's why putting a "&" all by it self will return a blank space because lbc is prolly seeing it as the variable.
and you don't have to rename the file at source, just use the "&&" technique in the caption field.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: ampersand missing..
« Reply #4 on: December 22, 2006, 06:51 PM »
Yes, this functionality is on purpose when you create your OWN custom node caption,
but what lanux is pointing out is that it is happening also when LBC displays the list of filenames in a directory, which is a definite no-no.

mimiihu

  • Participant
  • Joined in 2006
  • *
  • Posts: 19
Re: ampersand missing..
« Reply #5 on: December 23, 2006, 01:17 PM »
got it. i misread the "folder node" part. thanks.

Original address: https://www.donationcoder.com/forum/index.php?topic=6656.0