Modify

Opened 17 years ago

Closed 17 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 by TicketCleanup, 17 years ago

Severity: BlockingNone

Automatic ticket cleanup.

comment:2 by Valik, 17 years ago

Resolution: No Bug
Status: newclosed

Modify Ticket

Action
as closed The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.