本帖最后由 czjt1234 于 2023-4-19 21:29 编辑
bat- ' & cls & cscript.exe /nologo /e:vbscript "%~f0" "C:\Windows" "regedit.exe;win.ini" & pause & exit
-
- Set oShell = CreateObject("Shell.Application")
- Set oFolder = oShell.NameSpace(wsh.Arguments(0))
- Set oFolderItems = oFolder.Items()
- oFolderItems.Filter &H40 + &H80 + &H10000, wsh.Arguments(1)
- oFolderItems.InvokeVerbEx "Properties"
- wsh.Sleep 60 * 1000
复制代码
把 "C:\Windows" "regedit.exe;win.ini" 改成你的目录和文件名 |