mIRC Home    About    Download    Register    News    Help

Print Thread
best way to use file paths #209505
16/02/09 02:10 PM
16/02/09 02:10 PM
Joined: Oct 2005
Posts: 827
P
pouncer Offline OP
Hoopy frood
pouncer  Offline OP
Hoopy frood
P

Joined: Oct 2005
Posts: 827
$qt($mircdirdlls/mdx.dll)

is this the best way to avoid problems and errors?

Re: best way to use file paths [Re: pouncer] #209509
16/02/09 04:24 PM
16/02/09 04:24 PM
Joined: Sep 2005
Posts: 2,876
H
hixxy Offline
Hoopy frood
hixxy  Offline
Hoopy frood
H

Joined: Sep 2005
Posts: 2,876
Yes. All /commands need you to quote filepaths if there's a space in them.

Re: best way to use file paths [Re: pouncer] #209513
16/02/09 05:28 PM
16/02/09 05:28 PM
Joined: Aug 2004
Posts: 7,252
Ontario, Canada
R
RusselB Offline
Hoopy frood
RusselB  Offline
Hoopy frood
R

Joined: Aug 2004
Posts: 7,252
Ontario, Canada
Additionally, the quoted path will work even if there was no space(s) in the path or filename.

Another alternative, that is possible in the future, but not at the moment, is to have Khaled make directory and filename identifiers include the quotes by default.

Re: best way to use file paths [Re: pouncer] #209550
17/02/09 01:11 PM
17/02/09 01:11 PM
Joined: Jan 2007
Posts: 1,156
Seattle
D
DJ_Sol Offline
Hoopy frood
DJ_Sol  Offline
Hoopy frood
D

Joined: Jan 2007
Posts: 1,156
Seattle
Well, ok it's a trick question.

The best way is to put mirc.ini in your root directory.

Other than that, yes, quotes are good for reasons mentioned.

Re: best way to use file paths [Re: DJ_Sol] #209553
17/02/09 02:25 PM
17/02/09 02:25 PM
Joined: Dec 2002
Posts: 2,962
Norwich, UK
S
starbucks_mafia Offline
Hoopy frood
starbucks_mafia  Offline
Hoopy frood
S

Joined: Dec 2002
Posts: 2,962
Norwich, UK
Quote:
The best way is to put mirc.ini in your root directory.

Best way to do what?


Spelling mistakes, grammatical errors, and stupid comments are intentional.
Re: best way to use file paths [Re: starbucks_mafia] #209558
17/02/09 06:54 PM
17/02/09 06:54 PM
Joined: Jan 2007
Posts: 1,156
Seattle
D
DJ_Sol Offline
Hoopy frood
DJ_Sol  Offline
Hoopy frood
D

Joined: Jan 2007
Posts: 1,156
Seattle
You know what I meant. Best way to not worry about file paths.

Re: best way to use file paths [Re: DJ_Sol] #209559
17/02/09 07:15 PM
17/02/09 07:15 PM
Joined: Dec 2002
Posts: 2,962
Norwich, UK
S
starbucks_mafia Offline
Hoopy frood
starbucks_mafia  Offline
Hoopy frood
S

Joined: Dec 2002
Posts: 2,962
Norwich, UK
I don't know what you mean. How does having mIRC save data to the installation directory make anything easier? You still have to use $mircdir and $scriptdir correctly and you still have to quote paths with spaces.


Spelling mistakes, grammatical errors, and stupid comments are intentional.