mIRC Home    About    Download    Register    News    Help

Print Thread
Double space in filenames get swiped #9499 03/02/03 09:17 PM
Joined: Feb 2003
Posts: 3
N
Neighbour Offline OP
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

Re: Double space in filenames get swiped #9500 04/02/03 12:10 PM
Joined: Dec 2002
Posts: 774
T
theRat Offline
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
Re: Double space in filenames get swiped #9501 05/02/03 10:45 PM
Joined: Dec 2002
Posts: 94
K
krunch Offline
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
Re: Double space in filenames get swiped #9502 09/02/03 12:11 AM
Joined: Jan 2003
Posts: 18
P
PeteM Offline
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..

Re: Double space in filenames get swiped #9503 11/02/03 06:27 AM
Joined: Feb 2003
Posts: 42
G
GregMo Offline
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