|I had some bad values in the file called trade.txt which the batch was reading so for some reason because of that the %%e value was incrementing constantly.|
As soon as i deleted that file everything was fine.
And i'm still having trouble with the !N! Value.
I do the following below but the !N! Values remain as !N! and do not expand.
for /F "tokens=5,6,7,8,9,10 delims=|" %%a in ('type C:\Bulker\grinder\log.log ^| find "trade"') do (
echo %%a>> C:\Bulker\temp\C!N!.txt
echo %%b>> C:\Bulker\temp\V!N!.txt
echo %%c>> C:\Bulker\temp\P!N!.txt
echo %%d>> C:\Bulker\temp\SL!N!.txt
echo %%e>> C:\Bulker\temp\TP!N!.txt
echo !N! !n! %N% %%n
Funny enough, this last line with the ECHO !N! works, but anything on top of it doesn't...