天天看点

windows 常用命令

subst映射虚拟盘符命令

subst x: c:\test\test路径c:\test\test映射到x:

subst /d x:取消映射x:

tracert 路由跟踪命令 如: tracert www.baidu.com

system("pause"); F5调试控制台程序时再末尾加上这句,控制台不会关闭.

xcopy d:\template e:\template\ /d /y /E  递归拷贝tempate目录,目标目录名一定要有.

本文转自jetyi51CTO博客,原文链接: http://blog.51cto.com/jetyi/857554,如需转载请自行联系原作者

继续阅读