vbs调用powershell脚本实现无黑框运行

经验创意 · 4505 次浏览
jin7 创建于 2019-08-06 19:59


$$wscript.createobject("wscript.shell").run "PowerShell -File {documentPath}\WindowsPowerShell\Scripts\format-mytext.ps1 -path {txtPath}",0,true


wscript.createobject("wscript.shell").run "PowerShell -File c:\test.ps1",0,true


$$wscript.createobject("wscript.shell").run "PowerShell -File {dirPath}\test.ps1",0,true



CL 2019-08-06 22:23 :
谢谢分享
回复内容
暂无回复
回复主贴