2015-09-17 45 views
-1

http://i.imgur.com/dkqiDmj.pngfindstr错误,可能的格式错误?

试图以管理员身份运行,尝试了Windows 8和10,我检查了我的环境变量和C:\ windows \ system32;有没有

我能想到的唯一的事情是utf-8代码与ansi代码会导致一个错误也许?

我该怎么办?

这里是代码,我认为它太长时间粘贴在这里 https://mega.nz/#!nVExWRgb!vH7rM5HwGlDQl_ZN_CDUlmaPulZK_ysdLwlTZy74Zyw

编辑:

这里所建议的断码:

:scan32 
cls 
echo Your computer is being scanned, please wait. 
del files.txt>nul 
echo.>>files.txt 
rhash --sha256 --recursive --skip-ok --output=files.txt --log=log_file.txt --accept=exe,dll,sys,scr %systemdrive% 
del output.txt>nul 
echo.>>output.txt 
for /F "tokens=2" %%a in ('findstr /G:Database.dll files.txt') do del "%%a" & echo %%a>>output.txt 
cls 
echo scan done, here is a list of files found and deleted. 
pause 
start output.txt 
cls 

转到:如果

+2

请创建[MCVE(https://stackoverflow.com/help/mcve)所有地方只要用不同的名称。你的问题不应该依赖外部网站,并迫使我们去浏览你的整个代码。 – Melebius

+0

我添加了一些破损的代码 –

+0

我假设你已经确认它被添加到系统变量(路径)..如果你添加它记得重新启动cmd提示符。 – DTH

回答

0

您的代码使用名为path的变量,这是一个系统变量,它保存所有系统的位置m文件。

在您使用path

+0

工作过,谢谢。 –