
CODE: [Copy to clipboard]但是进入Cimv2空间 win32_computersystem.name却没有更改?wmic computersystem where "name='%computername%'" call rename newname
CODE: [Copy to clipboard]set name=getobject("winmgmts:\\.\root\cimv2").instancesof("win32_computersystem")
dim a
for each x in name
a=a+x.name
next
msgbox a
CODE: [Copy to clipboard]shutdown -r -t 0
| 欢迎光临 中国DOS联盟论坛 (http://cndos.fam.cx/forum/) | Powered by Discuz! 2.5 |