@echo off setlocal cd /d %~dp0 ..\..\tt -c"" -d";;" -oOUT= test.txt < test.txt