微前端架构如何改变企业的开发模式与效率提升
1052
2022-09-13
autoit基础 RegEnumKey 读取注册表
OS : Windows 10 Version 21H1 AutoIt : v3.3.16.0 blog : 师万物 typesetting : Markdown
script
#comments-start RegEnumKey ( "keyname", instance ) Reads the name of a subkey according to its instance. #comments-end Global $key Global $val Global $i=1 While True $key = RegEnumKey("HKEY_CURRENT_USER\Console",$i) If @error Then ConsoleWrite(@error) ExitLoop EndIf $i += 1 ConsoleWrite($key) ConsoleWrite(@CRLF) WEnd ConsoleWrite(@CRLF) #comments-start RegEnumVal ( "keyname", instance ) Reads the name of a value according to its instance. #comments-end $i=1 While True $val = RegEnumVal("HKEY_CURRENT_USER\Console\%SystemRoot%_System32_WindowsPowerShell_v1.0_powershell.exe",$i) If @error Then ConsoleWrite(@error) ExitLoop EndIf $i += 1 ConsoleWrite($val) ConsoleWrite("-") ConsoleWrite(@extended) ConsoleWrite(@CRLF) WEnd ;注册表写入 RegWrite ;注册表删除 RegDelete
Go
>"D:\Develop\AutoIt3\SciTE\..\AutoIt3.exe" /ErrorStdOut "E:\autoit\demo.au3" %SystemRoot%_System32_WindowsPowerShell_v1.0_powershell.exe %SystemRoot%_SysWOW64_WindowsPowerShell_v1.0_powershell.exe Git Bash Git CMD -1 ColorTable05-4 ColorTable06-4 FaceName-1 FontFamily-4 FontWeight-4 PopupColors-4 QuickEdit-4 ScreenBufferSize-4 ScreenColors-4 WindowSize-4 -1>Exit code: 0
学习资源
autoit autoit-docs IT天空 msdn 51CTO社区
版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。
发表评论
暂时没有评论,来抢沙发吧~