mIRC Home    About    Download    Register    News    Help

Print Thread
write command with space in path #102910 14/11/04 02:37 PM
Joined: May 2004
Posts: 10
T
the_lambda_man Offline OP
Pikka bird
OP Offline
Pikka bird
T
Joined: May 2004
Posts: 10
hi
i wanted to know if there's a simple workaround with the write function when the filename has spaces in it. Like, if i'm storing the path in a variable, how can i make /write not consider the spaces in the variable?

ex : //set %path c:\program files\
//write %path hello
will just create a file in c:\ called program with files\ hello written in it...

how can i prevent that? grin

thank you !

Re: write command with space in path #102911 14/11/04 02:40 PM
Joined: Feb 2003
Posts: 3,432
S
sparta Offline
Hoopy frood
Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
" $+ c:\program files\ $+ "

" $+ $mircdir $+ "


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
Re: write command with space in path #102912 14/11/04 02:50 PM
Joined: May 2004
Posts: 10
T
the_lambda_man Offline OP
Pikka bird
OP Offline
Pikka bird
T
Joined: May 2004
Posts: 10
that was fast thanks cool

I didn't think of putting quotes -_-
thank you!