Bootstrap

卸载360批处理

卸载360批处理


@echo off
wmic process where name=“360tray.exe” get executablepath>D:\log2.txt
For /f “tokens=1* delims=:” %%i in ('Type D:\log2.txt^|Findstr /n “. "’) do (If “%%i”==“2” set name=%%j)
set k=%name:~0,-21%uninst.exe
start “” “%k%”
wmic process where name=“360sd.exe” get executablepath>D:\log3.txt
For /f "tokens=1
delims=:” %%i in (‘Type D:\log3.txt^|Findstr /n “.*”’) do (If “%%i”==“2” set name=%%j)
set k=%name:~0,-11%Uninst.exe
start “” “%k%”

;