solan 当前离线
一级士官
评分人数
TOP
ShowCode 当前离线
VIP1
wmic process where "name='QQ.exe'" get * /value复制代码
Nsqs 当前离线
少尉
@PowerShell -Command "ForEach ($1 in (Get-Process -Name "qq").Path){[System.Diagnostics.FileVersionInfo]::GetVersionInfo($1).FileVersion};[Console]::Readkey()"复制代码
pcl_test 当前离线
荣誉版主
@echo off set w=wmic process where "name='lmgrd.exe'" get executablepath for /f "tokens=*" %%a in ('%w% 2^>nul ^| find "\"') do set "ph=%%~dpa" wmic "%ph%lmgrd.exe" pause复制代码
@PowerShell -Command "$p=(Get-Process -Name "qq");ForEach ($i in $p){$i.path+' 的版本号是 '+[System.Diagnostics.FileVersionInfo]::GetVersionInfo($i.path).FileVersion;Stop-Process -id $i.id -Confirm};[Console]::Readkey()"复制代码