www.ypnh.net > 批处理,VBS,或WMIC怎么设置打印机

批处理,VBS,或WMIC怎么设置打印机

@echo offfor /f "delims= " %%a in ('wmic process where "name='QQ.exe'" get processid ^|findstr "[0-9]"') do echo;%%apause及时采纳回答

下载一个VBSEDit软件 ,软件自带WMI各个类的使用教程,WMI比WMIC强大百倍,WMIC是给批处理用的,VBS一般使用WMI

有这个必有吗!?wmic能做到的vbs也能做到 ----------vbs 获取Wmic Process Get ProcessId,ExecutablePath执行结果代码开始----------------- Dim WshShell, oExec Set WshShell = CreateObject("WScript.Shell") Set oExec = WshShell.Exec("%c...

网站地图

All rights reserved Powered by www.ypnh.net

copyright ©right 2010-2021。
www.ypnh.net内容来自网络,如有侵犯请联系客服。zhit325@qq.com