mIRC Home    About    Download    Register    News    Help

Print Thread
#21509 29/04/03 02:27 PM
Joined: Jan 2003
Posts: 20
K
Krayzee Offline OP
Ameglian cow
OP Offline
Ameglian cow
K
Joined: Jan 2003
Posts: 20
when ever i try hsave under mirc using windows 2000 it fails this is the bug

/hsave Hashtable $shortfn(C:\mirc\system files\htable.hst)

it reports that is cant open C:\Mirc\System

#21510 29/04/03 02:34 PM
Joined: Dec 2002
Posts: 774
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Dec 2002
Posts: 774
try "quotes" around filename?


Code:
//if ( khaled isgod ) echo yes | else echo no
#21511 30/04/03 08:02 AM
Joined: Apr 2003
Posts: 426
Fjord artisan
Offline
Fjord artisan
Joined: Apr 2003
Posts: 426
mIRC can't handle spaces in a folder name.

Due to the sheer ignorance of one certain coder.
</rant>

either use underscores, or remove the spaces in your folder.


Hopefully the certain coder will add in the ability to parse spaces in folders in the next version.

After all, if nearly every single other bloody program out there can do it, why can't this one.


--------
mIRC - fun for all the family (except grandma and grandpa)
#21512 30/04/03 08:12 AM
Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
Actually it handles spaces fine, it's double spaces it can't handle. Any problems with folders that don't have double spaces are the fault of the scripter, not Khaled.

Krayzee: If you use $shortfn with a file that doesn't exist it doesn't shortern the file name, do as theRat said and enclose the filename in quotes. You will also need either the -a or -o switch, i.e.
/hsave -a Hashtable "C:\mirc\system files\htable.hst"

Hope this helps smile


Link Copied to Clipboard