bat批处理增加hosts文件常用域名

摘要:
@echoy | cacls“C:WindowsSystem32driversetchosts@echo@echo153.3.236.87zhidao.baidu.com>WindowsSystem32driversetchosts@echo@echo101.37.225.65ww.cnblogs.com>>

@echo y|cacls "C:WindowsSystem32driversetchosts" /e /p everyone:w
@echo
@echo 61.135.169.121 www.baidu.com >>C:WindowsSystem32driversetchosts
@echo
@echo 123.125.115.55 wenku.baidu.com >>C:WindowsSystem32driversetchosts
@echo
@echo 163.177.151.76 tieba.baidu.com >>C:WindowsSystem32driversetchosts
@echo
@echo 153.3.236.87 zhidao.baidu.com >>C:WindowsSystem32driversetchosts
@echo
@echo 123.125.115.60 image.baidu.com >>C:WindowsSystem32driversetchosts
@echo
@echo 47.95.164.112 www.csdn.net >>C:WindowsSystem32driversetchosts
@echo
@echo 101.37.225.65 www.cnblogs.com >>C:WindowsSystem32driversetchosts
@echo
@echo 111.202.114.53 fanyi.baidu.com >>C:WindowsSystem32driversetchosts
@echo
@echo 61.135.217.20 fanyi.youdao.com >>C:WindowsSystem32driversetchosts
@echo
@echo 112.74.128.169 www.w3cschool.cn >>C:WindowsSystem32driversetchosts
@echo
@echo 121.52.226.239 huaban.com >>C:WindowsSystem32driversetchosts
echo 修改完毕 按任意键退出~
@pause > nul

免责声明:文章转载自《bat批处理增加hosts文件常用域名》仅用于学习参考。如对内容有疑问,请及时联系本站处理。

上篇canvas 实现小人的行走和上下左右的变换Android权限大全1下篇

宿迁高防,2C2G15M,22元/月;香港BGP,2C5G5M,25元/月 雨云优惠码:MjYwNzM=

相关文章

vue之provide和inject

官方说: 当我们需要从父组件向子组件传递数据时,我们使用 props。想象一下这样的结构:有一些深度嵌套的组件,而深层的子组件只需要父组件的部分内容。在这种情况下,如果仍然将 prop 沿着组件链逐级传递下去 个人理解: 在祖先组件中定义provide(提供)给后代组件的数据或方法,在后代组件中可以通过inject(接受)提供的数据或方法 举个栗子, 想做...

阻止Bootstrap 模态框点击背景空白处自动关闭

问题描述 模态框点击空白处,会自动关闭,怎么阻止关闭事件呢? 解决方法 在HTML页面中编写模态框时,在div初始化时添加属性 aria-hidden=”true” data-backdrop=”static”,即可。 <!-- 模态框(Modal) --> <div class="modal fade" id="myModal" t...

SpringBoot:Sqlite3+SpringBoot2.1.3+Mybatis-Puls整合项目

应公司要求完成sqlite3数据库的增改查小功能,特此记录一下。 1.建造项目 结构如下 因为是提供给前端调用所以做了接口。 2.Pom依赖文件 下面是这个项目所依赖的jar包。 <parent> <groupId>org.springframework.boot</groupId>...

tk.mybatis 报错:tk.mybatis.mapper.MapperException: tk.mybatis.mapper.MapperException: java.lang.StringIndexOutOfBoundsException: String index out of range: -1

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'apiLogMapper' defined in file : Invocation of init method failed; nested exception is tk.my...

node连接mysql数据库出现Client does not support authentication protocol requested by server;的错误

在安装完MySQL的时候,我们现在一般都使用Navicat来连接数据库,可惜出现下面的错误:1251-Client does not support authentication protocol requested by server; consider upgrading MySQL client。 出现上述问题的原因是:mysql8 之前的版本中加密...

Mysql Select 语句中实现的判断

  select *,if(sva=1,"男","女") as ssva from tableame where id =1 Quote 控制流程函数 CASE value WHEN [compare-value] THEN result [WHEN [compare-value] THEN result ...] [ELSE result] END...