复制代码
- @echo off
- set /p a=请输盘符(如:D:):
- powershell Get-WmiObject -class Win32_Product > %a%\111.txt
复制代码
- @echo off
- set /p a=请输盘符(如:D:):
- powershell "Get-WmiObject -class Win32_Product" > %a%\111.txt
欢迎光临 批处理之家 (http://bbs.bathome.net/) | Powered by Discuz! 7.2 |