autoit基础 IniDelete 删除ini配置文件中的数据

网友投稿 714 2022-09-13

autoit基础 IniDelete 删除ini配置文件中的数据

autoit基础 IniDelete 删除ini配置文件中的数据

OS : Windows 10 Version 21H1       AutoIt : v3.3.16.0        blog : 师万物  typesetting : Markdown

script

[section] key1=value1 key2=value2 key3=value3 [section1] key1=value1 key2=value2 key3=value3

#comments-start IniDelete ( "filename", "section" [, "key"] ) Deletes a value from a standard format .ini file. #comments-end ;删除单个kv IniDelete(@DesktopDir & "\my.ini" , "section" , "key1" ) ;删除整个section1 IniDelete(@DesktopDir & "\my.ini" , "section1")

Go

>"D:\Develop\AutoIt3\SciTE\..\AutoIt3.exe" /ErrorStdOut "E:\autoit\demo.au3" >Exit code: 0

ini

[section] key2=value2 key3=value3

学习资源

autoit autoit-docs IT天空 msdn 51CTO社区

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:autoit基础 IniRead 读取ini配置文件中的数据
下一篇:C# ManualResetEvent用法(曹海涛)
相关文章

 发表评论

暂时没有评论,来抢沙发吧~