what's wrong with my script? Why it's always looping even "ini" is empty? In conf.ini I have only vieta1 and vieta2 not empty, but he is always going throw and 3,4,5,6,7,8......... It's not reacting to while>%ini%<>"".
Please help to solve it.
Thanks.
Code: Select all
ReadIniFile>%script_dir%\conf.ini,settings,old,dienos
ReadIniFile>%script_dir%\conf.ini,settings,path1,vieta1
ReadIniFile>%script_dir%\conf.ini,settings,path2,vieta2
ReadIniFile>%script_dir%\conf.ini,settings,path3,vieta3
ReadIniFile>%script_dir%\conf.ini,settings,path4,vieta4
Let>numeris=1
Label>go
Let>ini=vieta
ConCat>ini,numeris
while>%ini%<>""
GetFileList>%ini%,files1
Separate>files1,;,file_names1
If>file_names1_count>0
Let>a=0
Repeat>a
Let>a=a+1
Let>this_file1=file_names1_%a%
IfFileChanged>this_file1,>%dienos%
DeleteFile>this_file1
Endif
Until>a,file_names1_count
EndIf
Let>numeris=numeris+1
goto>go
EndWhile