Project

General

Profile

Bug #3730

$menuicon() returns an error if the PATH contains brackets ()

Added by westor (GR) 2 months ago.

Status:
New
Priority:
Normal
Assignee:
Category:
Scripting
Target version:
Start date:
10/11/2017
Due date:
% Done:

0%

Estimated time:
Operative System:
All
Regression:
No

Description

Hello,

I saw an strange bug but i reproduce it, if you create a new folder like "AdiIRC 3.0 (BETA)" and place there the AdiIRC.exe and run it, then opening the Script Editor and place the following code it will return an path error that this file doesn't exist but that file exists, it effecting 32/64bits.

Code:

menu status {
  test $menuicon($scriptdir $+ test.ico) test:echo -a IS: $isfile($scriptdir $+ test.ico) -> $file($scriptdir $+ test.ico)
}

Error Message:

[20:55:35] * $menuicon: no such file 'C:\Users\westo\Desktop\AdiIRC 3.0 (BETA' (line 2, test.ini)

- Thanks!

Also available in: Atom PDF