我是批量编程的新手我想编写BAT程序:
怎么做?
答案 0 :(得分:2)
@echo off
rem Getting catalog of .bat file
set catt=%~dp0
rem Create in that catalog directory named "Data"
if not exist "%catt%\data\" mkdir "%catt%\data\"
rem Echo second argument of BAT program
echo %2
exit /b 0