如题~~~~怎么把任务管理器的命令行信息复制出来**__**
wmic process where caption="java.exe" get caption,commandline,ProcessId /value
参考 https://superuser.com/questions/1003921/how-to-show-full-command-line-of-all-processes-in-windows
wmic process where "ProcessId like '10160'" get processid, commandline > d:/tmp/tmp202.txt
wmic process where "name like '%chrome%'" get processid,commandline > d:/tmp/tmp202.txt
比如微信小程序 新浪微博
"E:\Program Files (x86)\WeChat\WeChatApp.exe" --applet_init_config="{\"appId\":\"preload_1570500254839_0\",\"appVersion\":0,\"brandName\":\"\",\"clientVersion\":1644626241,\"debugType\":0,\"deviceType\":\"Windows+7\",\"iconUrl\":\"\",\"isNativeView\":false,\"isPreload\":true,\"isTest\":false,\"moduleListInfo\":\"\",\"orientation\":\"\",\"originalFlag\":0,\"originalRedirectUrl\":\"\",\"referrer\":{\"agentId\":\"\",\"appId\":\"\",\"launchScene\":10086,\"sourceType\":0},\"shareKey\":\"\",\"shareName\":\"\",\"uin\":\"861965906\",\"username\":\"\",\"versionState\":0,\"wxIconUrl\":\"\"}" --applet_init_config_ex="{\"clientJsExtInfo\":\"\",\"dataPath\":\"F:\chart record\WeChat Files\Subfire\Applet\\\",\"debugJsonInfo\":\"\",\"enterPath\":\"\",\"extraData\":\"\",\"logPath\":\"C:\Users\ADMINI~1\AppData\Roaming\Tencent\WeChat\log\\\",\"messageExtraData\":\"\",\"nickName\":\"\",\"openapiInvokeData\":\"\",\"operationInfo\":\"\",\"pkgDirPath\":\"\",\"privateExtraData\":\"\",\"signature\":\"\",\"tmpPath\":\"\",\"transitiveData\":\"\",\"url\":\"\",\"wxNickName\":\"\"}"
看看这篇文章是否有帮助
http://www.pediy.com/kssd/pediy11/116792.html
直接任务管理器,详细信息里,选中进程,直接Ctrl+C
右键任务管理器,选择标记,选中要复制的信息,然后复制就可以了