1IP的正确性
IP+子网掩码,判断网段,地址范围,IP分类
2理解网关
3理解DNS
本地DNS缓存
本地hosts文件
找DNS服务器
md a 创建文件夹a
rd /s /q -s是级联删除文件夹 -q是不交互直接执行操作
rd .\ /s /q
del qingshu.txt
del *.txt
del *.zip
del . 全删所有文件
dir /a
echo 11111 > a 写文件到a
echo 11111 >> a 追加文件到a control + z 终止编写
c: d: 切换盘
cd c:/ 到盘的根目录
copy 源文件 目标文件
copy 1.bat “c:Documents and Settings/Administrater/[开始]菜单/程序/启动”
copy con qingshu.txt 复制屏幕的内容到qingshu.txt文件
copy haha.txt …\b\
move .\haha.txt c:
ren haha.txt heihei.txt重命名
shutdown /s /t 120 (shutdown /s一起才能关机 )
shutdown -r -t 120重启
shutdown -s -t -f 120强制关机
shutdown -s -t 120 -c “认命吧,吃点好的吧!”
shutdown -a 取消一切定时
显示内容type wen.txt
翻页看空格翻页type wen.txt | more
清屏cls
更改属性
attrib +h feifei 隐藏文件夹
attrib -h feifei 取消隐藏文件夹
attrib +h +s +a feifei 隐藏文件夹 +s把这个文件夹提升为受保护的系统文件夹 +a只读属性
fsutil file createnew c:\system.ini 4096000000创建文件件
attrib +h +s +a system.ini
assoc修改关联性
assoc .txt=exefile 以.ext结尾的都是可执行程序
assoc .txt=txtfile