windows获取程序参数
例子:获取ssh的命令行参数
wmic process where caption="ssh.exe" get caption,commandline,ProcessId
想获得更多属性可以参考:
wmic process get /?
例子:获取ssh的命令行参数
wmic process where caption="ssh.exe" get caption,commandline,ProcessId
想获得更多属性可以参考:
wmic process get /?