@echo off
cls
set/p a1=请输入cocos2d-x工程名并按回车:
e:
cd E:\zwc\cocos2d-x-2.2.2\tools\project-creator
python create_project.py -project %a1% -package com.chuncheng.net -language cpp
Windows 控制台命令 编写简单的bat文件(从控制台获取输入的变量)
最新推荐文章于 2024-08-20 10:19:31 发布
@echo off
cls
set/p a1=请输入cocos2d-x工程名并按回车:
e:
cd E:\zwc\cocos2d-x-2.2.2\tools\project-creator
python create_project.py -project %a1% -package com.chuncheng.net -language cpp