mIRC Homepage
Posted By: Hindsight $script space problem - 08/04/03 06:42 PM
If i want to a loaded script, using $script(1), it always returns with spaces in the file path ie: C:\Program Files\mIRC\scripts\miss.mrc. If you write to it it would write to program... so i guess my question is, is their a way to return without spaces, or know of a way around it?
Thanks ahead of time.
Posted By: MTech Re: $script space problem - 08/04/03 07:43 PM
im not sure what you want but... it sounds like you should try this
"C:\Program Files\mIRC\scripts\miss.mrc"
Posted By: _D3m0n_ Re: $script space problem - 08/04/03 08:38 PM
make sure when u tell them that u emphasis the "quotes" around the path name ..... putting the quotes around it is what makes it work using spaces ...... just thought id add alil more info to ur help .........
Posted By: Hindsight Re: $script space problem - 08/04/03 09:58 PM
I took it that he meant " $+ $script(1) $+ "
Posted By: _D3m0n_ Re: $script space problem - 08/04/03 10:18 PM
i would think thats it if your path to ur script is in a folder with a space in the name
Posted By: Cheech Re: $script space problem - 08/04/03 11:50 PM
if you are writing to the file miss.mrc and it is within the mirc folder you dont need the full path anyhow ? just /write blah.txt or /write miss.mrc etc .
Posted By: Hindsight Re: $script space problem - 09/04/03 01:01 AM
See, its assuming that I dont know the name of the script though smile
Posted By: GBX Re: $script space problem - 09/04/03 03:04 PM
$shortfn() converts a long filename into old dos 8.3 format

C:\Program Files\mIRC => C:\Progra~1\mIRC
© mIRC Discussion Forums