I have the following script:
@ECHO OFF
FOR /F "tokens=*" %%A IN (%ThisService_WorkingDirectory%MPMissions\%ThisService_mapname%\init.sqf) DO (
ECHO %%A
IF "%%A" EQU "call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf"; //Compile regular functions" (
TYPE D:\snapbuild\snapbuild.txt
)
) >> temp.txt
move /y temp.txt %ThisService_WorkingDirectory%MPMissions\%ThisService_mapname%\init.sqf
But this is giving the the wrong results, infact it doesn't appear to be doing anything at all.
How would I correctly use contain quotation marks in the script?
I have tried using '' on the outer quotations but this doesn't work.