mIRC Home    About    Download    Register    News    Help

Print Thread
$msfile #64955 23/12/03 06:29 AM
Joined: Oct 2003
Posts: 37
B
BIGeMpTy Offline OP
Ameglian cow
OP Offline
Ameglian cow
B
Joined: Oct 2003
Posts: 37
In the help file it says that $msfile will return the filenames and will return -1 if too many files are selected. Does anyone have any experience with this? How many is too many? Does it not return any of the selected files if you were like 1 over?

I know there are a couple of dlls for accomplishing this same task and that they are limited to the 900 character limit for assigning variables. Is this identifier also limited in this way?

-eMpTy

Re: $msfile #64956 23/12/03 11:37 AM
Joined: Jan 2003
Posts: 2,523
Q
qwerty Offline
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,523
Unfortunately $msfile suffers from the >900-char limitation. "Too many" in $msfile means "when the lengths of the selected file names added together (without the path) and then added to the length of the folder name exceed ~980 chars".

This makes $msfile almost unusable. And it's a shame because there is already $msfile(N); one would think that the >900-char limitation would not apply here since we're accessing each file separately (they aren't all dumped in a single string).


/.timerQ 1 0 echo /.timerQ 1 0 $timer(Q).com
Re: $msfile #64957 23/12/03 04:52 PM
Joined: Oct 2003
Posts: 37
B
BIGeMpTy Offline OP
Ameglian cow
OP Offline
Ameglian cow
B
Joined: Oct 2003
Posts: 37
yeah I was thinking the same thing about $msfile(N)...that answers my question perfectly...thank you...

-eMpTy