JavaScript:
@echo off
color c
REM -----------------------------Ask TaskName (folder)
set /p id_folder="Task Name: "
if exist "%id_folder%" (
echo my lord, folder %id% already exists! think to CTRL+C
pause
) ELSE (
mkdir "%id_folder%"
)
REM -----------------------------Ask BlockID (files)
set /p id="Block ID: "
cd "%id_folder%"
if exist %id%en-dev.txt (
echo my lord, file %id%en-dev.txt already exists!
echo Operation Aborted...........
pause
exit
)
//set UTF8 -- the 65001 is UTF8
//http://stackoverflow.com/a/18088002
chcp 65001
type nul >%id%en-dev.txt
type nul >%id%en-prod.txt
type nul >%id%gr-dev.txt
type nul >%id%gr-prod.txt
REM -----------------------------Create modded folder
mkdir modded
:exit