mIRC Home    About    Download    Register    News    Help

Print Thread
#73928 05/03/04 10:52 PM
Joined: Feb 2003
Posts: 23
M
Mog Offline OP
Ameglian cow
OP Offline
Ameglian cow
M
Joined: Feb 2003
Posts: 23
I noticed in 6.14 $shortfn will not return the short filename version ... is anyone else having this problem?

//echo -a $shortfn($mircdirsystem) - mIRC version: $version
D:\SCRIPT~1\system - mIRC version: 6.12

//echo -a $shortfn($mircdirsystem) - mIRC version: $version
C:\Program Files\mIRC\system - mIRC version: 6.14

Anyone know a solution to this? ... it's making mIRC create the "c:\Program" and windows is complaining about that folder being there.

#73929 05/03/04 11:17 PM
Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
Make sure you have a dir/file called "system" in "C:\Program Files\mIRC\". If its parameter doesn't exist $shortfn returns what you gave it.

#73930 05/03/04 11:22 PM
Joined: Feb 2003
Posts: 23
M
Mog Offline OP
Ameglian cow
OP Offline
Ameglian cow
M
Joined: Feb 2003
Posts: 23
And don't we think that is a problem?

#73931 05/03/04 11:33 PM
Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
"We"?

It's always been like that, nothing to do with 6.14. Personally I always use $+(",$mircdirsystem,"), most (if not all) commands that have to do with files accept that syntax.


Link Copied to Clipboard