Coder Social home page Coder Social logo

FindFirstFile() Error!(2) about windows HOT 23 CLOSED

hoststools avatar hoststools commented on August 23, 2024
FindFirstFile() Error!(2)

from windows.

Comments (23)

chucklu avatar chucklu commented on August 23, 2024

刚解压出来的时候,被microsoft security essentials查杀,直接删除了
现在已经允许这个项目了,但是打开之后,这个错误看不懂

可以在哪里看日志吗?

from windows.

chucklu avatar chucklu commented on August 23, 2024

奇怪,我运行choose.exe,选了1
又可以正常运行了,没提示错误

不过,还是不能访问谷歌

from windows.

chucklu avatar chucklu commented on August 23, 2024

尴尬,貌似又能访问谷歌,真是什么鬼

多谢你的工具

from windows.

 avatar commented on August 23, 2024

允许之后就没有问题了吗...

from windows.

chucklu avatar chucklu commented on August 23, 2024

@Too-Naive 现在没问题了,刚开始还是不能访问谷歌。不太搞得懂
已经可以正常使用了

from windows.

 avatar commented on August 23, 2024

正常运行还有问题吗...我需要了解这个

from windows.

chucklu avatar chucklu commented on August 23, 2024

什么意思啊,你说的正常运行,指什么?

from windows.

 avatar commented on August 23, 2024

没有任何错误提示 就是正常运行

from windows.

chucklu avatar chucklu commented on August 23, 2024

现在恢复正常了,没问题了。
之前那个错误 Error!(2)
这个是是啥意思呢

from windows.

 avatar commented on August 23, 2024

ERROR_FILE_NOT_FOUND

from windows.

chucklu avatar chucklu commented on August 23, 2024

哦,记得我还操作了一个reset,通过choose.exe。
5. Reset Hosts File(Set to Default Hosts File)
应该是操作这个之后,再运行1.Run normaly 才恢复的

另外说一下,我之前,一直用的是tools里面的bat脚本。
今天发现之前的不能用,就找了最新的

from windows.

 avatar commented on August 23, 2024

噢噢....谢谢您的反馈

from windows.

chucklu avatar chucklu commented on August 23, 2024

注意事项里的第4个
请间隔一段时间后清理%SystemRoot%\system32\drivers\etc\文件夹 (程序加入了询问删除早期备份文件的功能)

这个询问删除早起备份文件的功能,在哪里啊?我似乎没有看到呢

from windows.

 avatar commented on August 23, 2024

您运行了足够多次数之后 就能看到啦(笑
备份文件至少要有20个才会触发这个条件(你可以复制几个试试

from windows.

chucklu avatar chucklu commented on August 23, 2024

@Too-Naive
在我的etc目录下,发现好多文件备份:
有2种格式的
第一种
hosts_2016-03-24_周四_12-15-06.bak
第二种
hosts.20161014.143235.bak

第一种备份格式,应该是以前的bat脚本文件运行生成的,有90多个了。一直没清除
第二种备份格式,是tool.exe今天生成的,目前只有2个

能让程序兼容第一种备份格式吗?
你以什么标准作为备份识别的?

from windows.

 avatar commented on August 23, 2024

备份是整个文件直接备份. 前面那种备份我并没有研究过是什么情况= =
备份只是为了以防万一 如程序出错的话可以用备份来还原 这样

from windows.

chucklu avatar chucklu commented on August 23, 2024

@Too-Naive 我知道备份的作用
你清除备份的时候,可以用.bak后缀,作为判断标准吗?

from windows.

 avatar commented on August 23, 2024

_stprintf(sizbuf,_T("%s\\drivers\\etc\\hosts.20*"),buf3);

from windows.

chucklu avatar chucklu commented on August 23, 2024

@Too-Naive
C++的代码?我不太能看懂
你能把.bak作为删除备份的标准吗?

from windows.

 avatar commented on August 23, 2024

可以是可以 修改一下即可

On Chuck Lu [email protected], Oct 17, 2016 11:15 AM wrote:

@Too-Naivehttps://github.com/Too-Naive
C++的代码?我不太能看懂
你能把.bak作为删除备份的标准吗?


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com//issues/26#issuecomment-254103480, or mute the threadhttps://github.com/notifications/unsubscribe-auth/APu4HxH5qUpadz43IeUonrlzsoJ_XXE-ks5q0uhFgaJpZM4KWrjx.

from windows.

chucklu avatar chucklu commented on August 23, 2024

那就期待了,目前来看,似乎只有你的.bak备份文件。
如果担心和别人的冲突的话,你可以自己建一个文件夹来存放备份。
文件夹的名字,唯一识别,就可以了

from windows.

 avatar commented on August 23, 2024

实际上是hosts.20*.bak通配符来识别的

from windows.

chucklu avatar chucklu commented on August 23, 2024

哦,以前的版本是带下划线的

from windows.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.