mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Dec 2002
Posts: 31
M
mruno Offline OP
Ameglian cow
OP Offline
Ameglian cow
M
Joined: Dec 2002
Posts: 31
In mirc 7.69, /writeini and /remini, both write to files which are set to read-only. If this is by design, recommend documentation to be updated.

Reproduce this by creating a file (test.ini) and setting it to read-only
writeini test.ini test 123
and
remini test.ini test

both will edit the file and unset the file from read-only

Last edited by mruno; 20/09/22 08:12 PM.
Joined: Dec 2002
Posts: 5,169
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 5,169
Thanks for your bug report. This is by design. This behaviour has been in place for INI file handling for about twenty years. If I recall correctly, at the time, there were situations were users were copying/installing mIRC, either from CD-ROMs or other media, and the INI files were being set as read-only, which prevented mIRC from working correctly, so the INI file handling was specifically changed to handle this.


Link Copied to Clipboard