|Good morning all,|
I am having some troubles with the following batch file.
REM HERE WE ARE Making the List.txt that contains all the files that will be patched with the Patcher.
echo Ver:24 >%LOCAL_RESCLIENT_DIR%\list.txt
REM echo. >>%LOCAL_RESCLIENT_DIR%\list.txt
for /R %%a in (*.*) do (
for /F "tokens=1-5 delims=/-. " %%b in ("%%~Ta") do set "dateTime=%%d-%%c-%%b %%e%%f"
set size= %%~Za
set name= %%~PNXa
echo !dateTime! !size:~-10! !name:%base%=!>>!LOCAL_RESCLIENT_DIR!\list.txt
Its creating an list.txt from files in their folders/subfolders
But for some reason if i call the list.txt with an c++ program its adding an DLE(Data Link Escape) Character. ASCII 016.
If i am using an c++ program for the list.txt creation i dont have any problems with it.
Could someone explain to me why this is happening