mIRC Home    About    Download    Register    News    Help

Print Thread
#187643 09/10/07 07:08 PM
P
pouncer
pouncer
P
alias userfile return system\userlist.ini

works perfectly fine, but whats the stuff about using "" in filepaths?

Last edited by pouncer; 09/10/07 07:08 PM.
#187645 09/10/07 07:16 PM
Joined: Dec 2002
Posts: 1,997
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 1,997
In case of spaces in the path, it (the path) would need to be quoted.

~ Edit ~

Quotes are usually needed when using commands dealing with paths and/or file names with spaces .. /run /splay /play /write /writeini etc.

#187648 09/10/07 07:30 PM
Joined: Feb 2003
Posts: 3,412
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,412
you can use " $+ path $+ " or you can use $qt(path) . just wanted to point that out wink

RoCk #187654 09/10/07 08:38 PM
Joined: Sep 2005
Posts: 2,630
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,630
Actually things like /run and /splay that take the last parameter as a filename don't need quotes. Quotes are only needed to surround filepaths that are somewhere in the middle of the expected parameters, eg. /write and /writeini. When it's the last parameter there's no ambiguity about where the filename ends so they're not needed.

hixxy #187655 09/10/07 08:43 PM
Joined: Dec 2002
Posts: 1,997
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 1,997
True, I was just thinking of any commands that need a file, should've thought of that.


Link Copied to Clipboard