1.获取/ 设置时间 set str=%date:~0,10% ::显示当前时间 echo %str% ::修改时间 date 2013-1-1 ::恢复时间 date %str% 2.禁用/启动网卡 ::@netsh interface set interface name="本地连接" admin=DISABLED @netsh interface set interface name="Local Area Connection" admin=DISABLED ::@netsh in ...