Modify

Opened 11 years ago

Closed 11 years ago

#629 closed Bug (No Bug)

iniwrite / iniread doesn't work on file called "clock.ini"

Reported by: alucke@… Owned by:
Milestone: Component: AutoIt
Version: 3.2.12.0 Severity: None
Keywords: iniwrite iniread clock.ini Cc:

Description

The code

$ini = @ScriptDir&"\clock.ini"
MsgBox(1,"",IniRead ( $ini, "Settings", "test", "nix" ))
IniWrite ( $ini, "Settings", "test", "13" )

on first execution the message is "nix" on second execution it's "13", but the file "clock.ini" is NOT created, nowhere on the entire disk I can find the file. But still the value is stored somewhere.

Naming the file to "click.ini" works as expected.

There is something special about the filename "clock.ini".

I searched the registry and found that instead of storing the data in the file it got stored in the registry:

[HKEY_USERS\S-1-5-21-1229272821-527237240-839522115-1003\Software\Microsoft\Clock]
"iFormat"="1"

[HKEY_USERS\S-1-5-21-1229272821-527237240-839522115-1003\Software\Microsoft\Clock\settings]
"test"="13"

Attachments (0)

Change History (2)

comment:1 Changed 11 years ago by TicketCleanup

  • Severity changed from Blocking to None

Automatic ticket cleanup.

comment:2 Changed 11 years ago by Valik

  • Resolution set to No Bug
  • Status changed from new to closed

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

Action
as closed The ticket will remain with no owner.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.