DOS命令收录

创建空文件:
touch README
type nul > 1.txt (type null > type.txt同样可以创建,但会提示“系统找不到指定的文件。”)
c:> t.txt (注意:会改变当前盘符)
cd . > cd.txt
rem. > rem.txt (注意rem和.之间不能有空格)
copy nul > copy.txt
echo.> echo.txt(or@echo.> echo.txt)(注意echo和.之间不能有空格;此方法创建的文件会产生一个换行;不推荐)

添加路由信息:
route add 10.2.2.0 mask 255.255.255.0 10.2.1.254

猜你喜欢

转载自vivus.iteye.com/blog/1974847