mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Feb 2003
Posts: 3
N
Self-satisified door
OP Offline
Self-satisified door
N
Joined: Feb 2003
Posts: 3
When sending a filename using dcc, mirc automatically removes any subsequential spaces and thus failes to send the file.

example : /dcc send nickname "c:\2 spaces right here.txt"
mirc then replies with the error that it can't find the file
"c:\2 spaces right here.txt" (note the missing extra space between right & here smile

Joined: Dec 2002
Posts: 774
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Dec 2002
Posts: 774
Sad but true, mIRC has this thing with spaces...


Code:
//if ( khaled isgod ) echo yes | else echo no
Joined: Dec 2002
Posts: 94
K
Babel fish
Offline
Babel fish
K
Joined: Dec 2002
Posts: 94
yeah either rename the dir
or try using $shortfn(c:\there are 2  spaces here.txt)


Lets get dirty
Joined: Jan 2003
Posts: 18
P
Pikka bird
Offline
Pikka bird
P
Joined: Jan 2003
Posts: 18
have you tried capturing the raw ctcp data sent to initiate the dcc send? save and rename the file once it is completed? just an idea..

Joined: Feb 2003
Posts: 42
G
Ameglian cow
Offline
Ameglian cow
G
Joined: Feb 2003
Posts: 42
Yeah, it's the infamous "mIRC can't deal with double spaces" issue. I for one sure wish Khaled would give us a means to escape spaces and other special characters like most all other script languages do.

/set %spaces This Var Has a\ \ double escaped space in it and a \% special character to boot.

Cheers,
GregMo


Link Copied to Clipboard