清除VB 6中的主机文件(txt) [英] Clear host file (txt) in VB 6

查看:71
本文介绍了清除VB 6中的主机文件(txt)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试了很多方法来使用VB 6清除主机文件

I tried many ways to clear the host file using VB 6

我试过 

Kill(" C:\\ \\ windows \ System32 \ drivers \ etc \ hosts") 

Kill ("C:\Windows\System32\drivers\etc\hosts") 

但它会删除该文件。我只想清除主机文件的内容。请帮忙。 

but it will delete the file . i just want to Clear the content of the host file. Please help. 

谢谢

prabhath

推荐答案

错误的论坛和听起来也是恶意的。

Wrong Forum and sounds malicious to me also.

参见这个 -   http://social.msdn.microsoft.com/Forums/en-US/vbgeneral/thread/6a0719fe-14af-47f7-9f51-a8ea2b9c8d6b

See this - http://social.msdn.microsoft.com/Forums/en-US/vbgeneral/thread/6a0719fe-14af-47f7-9f51-a8ea2b9c8d6b


这篇关于清除VB 6中的主机文件(txt)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆