@echo off :_ex echo "un" REM UNKNOWN: {"type":"Redirect","op":{"text":">","type":"great"},"file":{"text":"first.txt","type":"Word"}} echo "deux" REM UNKNOWN: {"type":"Redirect","op":{"text":">","type":"great"},"file":{"text":"second.txt","type":"Word"}} git "add" "first.txt" exit /b call _generic_create.bat _create _ex