mIRC Home    About    Download    Register    News    Help

Print Thread
/writeini error with 6.3 #184255 26/08/07 09:50 PM
Joined: Aug 2006
Posts: 8
S
Sprakster Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
S
Joined: Aug 2006
Posts: 8
/writeini is giving me an 'error accessing file' error when creating a new file.

It does create the file, and it adds the [section] and item=data, but then it gives the error and halts. This only seems to happen if the file doesn't exist.

(newfile.ini doesn't exist yet):
/writeini newfile.ini section item data
* /writeini: error accessing file 'F:\MIRC\newfile.ini'

//write -c blank.ini | writeini blank.ini section item data
- works.

Win98, mIRC v6.3 -- someone with XP SP2 said he didn't get the error.

Re: /writeini error with 6.3 [Re: Sprakster] #184257 26/08/07 09:56 PM
Joined: Dec 2002
Posts: 2,010
R
RoCk Offline
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,010
No error here either with 6.3 on XP SP2. Did you try with 6.21?

Re: /writeini error with 6.3 [Re: RoCk] #184269 27/08/07 12:29 AM
Joined: Dec 2002
Posts: 2,962
S
starbucks_mafia Offline
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,962
Version 6.21 reported no errors at all on INI write failures.
Originally Posted By: versions.txt mIRC v6.30
41.Fixed /writeini and /remini not reporting an error if they were unable to write to the file.


No errors here either (XP SP2). Hopefully someone else with Windows 98 can give some feedback.


Spelling mistakes, grammatical errors, and stupid comments are intentional.
Re: /writeini error with 6.3 [Re: starbucks_mafia] #184270 27/08/07 12:34 AM
Joined: Dec 2002
Posts: 2,010
R
RoCk Offline
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,010
I forgot about that. smile

Re: /writeini error with 6.3 [Re: Sprakster] #184283 27/08/07 10:00 AM
Joined: Dec 2002
Posts: 4,521
Khaled Offline
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 4,521
Thanks, it appears that Windows98 error handling is different for ini files. This issue has been fixed for the next version.