[Quote=引用 14 楼 gaoyuan21810 的回复:]
wmic process where name="java.exe" get /format:value
这个可以显示进程所有信息
你可以看看里面的commandline那个属性,里面记录了启动这个java的原始路径
也可以用命令
wmic process where name="java.exe" get commandline
来直接获得commandline
wmic process where name="java.exe" get /format:value
这个可以显示进程所有信息
你可以看看里面的commandline那个属性,里面记录了启动这个java的原始路径
也可以用命令
wmic process where name="java.exe" get commandline
来直接获得commandline