zoukankan      html  css  js  c++  java
  • windows下自己常用的几个bat

    1.samba映射盘符和解除

    net use Z: "\sambaserver ipdir" "password" /user:"username" /persistent:no

    2.解除映射

    net use * /delete

    3.设置自动获取IP

    netsh interface ip set address name = "本地连接" source = dhcp  
    netsh interface ip set dns name = "本地连接" source = dhcp  

    4.手动设置IP

    Netsh interface IP Set Addr "本地连接" Static 10.10.10.3 255.0.0.0 10.10.10.1 1   

  • 相关阅读:
    053-49
    053-3
    053-204
    053-491
    053-205
    053-57
    053-149
    053-47
    053-150
    回答2
  • 原文地址:https://www.cnblogs.com/thammer/p/8532437.html
Copyright © 2011-2022 走看看