admin 发布的文章

打开注册表
HKEY_CLASSES_ROOTDirectoryBackgroundshellexContextMenuHandlersNew
右边所有键值都删掉

恢复旧版菜单排列
reg add "HKCUSoftwareClassesCLSID{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}InprocServer32" /f /ve

恢复新版菜单
reg delete "HKCUSoftwareClassesCLSID{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}" /f

tasklist只能看到PID和进程名,但是不知道全路径。

wmic process where processid=3876 get processid,executablepath,name

杀进程

taskkill /F /IM cmd.exe /T
taskkill /PID 1234 /F
ntsd -c q -p 3876
wmic process where name="mysqld.exe" delete
wmic process where processid=1234 call terminate

这样的话,就不用在脚本里面写什么socket,requests的proxies了。

set http_proxy=SOCKS5://10.10.99.206:8011

取消的话设置为空。unset是不管用的。

set http_proxy=
set https_proxy=