dos命令创建批处理脚本

win+r  打开cmd

输入 copy con  1.bat 回车 进入编辑状态输入

@echo off

echo xxxx 

Ctrl+z 结束编辑   会在当前目录生成一个bat文件

原文地址:https://www.cnblogs.com/feizianquan/p/10963415.html