我正在嘗試使用批量打包基本反釣魚軟件。我正在使用它來刪除與gmail登錄頁面類似的html文件。這是我的代碼:批量反釣魚軟件
@echo off
color fc
title Anti-Phishing
cls
echo ===============
echo [Anti-Phishing]
echo ===============
echo If There's no message ,You are protected.
set /p a=Enter a HTML file to scan:
for /f %%x in ('findstr /i /m "gmail google add account" %a%.html') do (
if /i %%x equ %a%.html (
for /f %%z in ('findstr /i /b /m "tskill del copy shutdown ipconfig ren reg" %a%.html') do (
if /i %%z equ %a%.html (
cls
echo Fake Page Detected!!
del %a%.html
echo %a%.html was deleted....
pause >nul
)
)
)
)
pause >nul
它說它無法打開html文件。請幫我理解我的錯誤。我對批處理很新。
什麼是您的html文件名?添加一行,如'echo「%a%」「%% x」&pause'並查看控制檯上的內容。 – foxidrive 2014-10-12 12:27:13