984| 5
|
[系统综合] 【求助】AU3执行Bat命令 |
悬赏1金钱已解决
最佳答案[au3]Local $sSubKey = '', $ii = 1
Local $sMKey = 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList'
Do
$sSubKey = RegEnumKey($sMKey, $ii)
If @error Then ExitLoop
If StringRegExp($sSubKey, '(?i)\.bak$') Then
RegDelete($sMKey & '\' & $sSubKey)
ContinueLoop
EndIf
$ii += 1
Until 0[/au3]
| ||
发表于 2022-8-15 14:16:48
|
显示全部楼层
| ||
发表于 2022-8-15 15:04:20
|
显示全部楼层
| ||
| ||
发表于 2022-8-15 17:00:22
|
显示全部楼层
| ||
|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度
GMT+8, 2024-12-22 11:25 , Processed in 0.074599 second(s), 19 queries .
Powered by Discuz! X3.5 Licensed
© 2001-2024 Discuz! Team.