mIRC Homepage

best way to use file paths

Posted By: pouncer

best way to use file paths - 16/02/09 02:10 PM

$qt($mircdirdlls/mdx.dll)

is this the best way to avoid problems and errors?
Posted By: hixxy

Re: best way to use file paths - 16/02/09 04:24 PM

Yes. All /commands need you to quote filepaths if there's a space in them.
Posted By: RusselB

Re: best way to use file paths - 16/02/09 05:28 PM

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.
Posted By: DJ_Sol

Re: best way to use file paths - 17/02/09 01:11 PM

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.
Posted By: starbucks_mafia

Re: best way to use file paths - 17/02/09 02:25 PM

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

Best way to do what?
Posted By: DJ_Sol

Re: best way to use file paths - 17/02/09 06:54 PM

You know what I meant. Best way to not worry about file paths.
Posted By: starbucks_mafia

Re: best way to use file paths - 17/02/09 07:15 PM

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.
© 2019 mIRC Discussion Forums