1、新建文件 Windows系统如何通过CMD命令新建txt文件 cd 到 对应的目录下面 type nul>filename.txt type nul>filename.cpp 通过上面的命令创建需要的空文件 (需要熟悉 cd mkdir del dir type 等基本操作)