Hi,
I've a file with record exceeding 5000 characters i use a .bat file to read the records but i cannot. I give the file name as a parameter to the . bat and the echo !temp! or echo %%a are empty . Is there any size limitation on the variable used in FOR or echo commands ?
@echo off
SETLOCAL ENABLEEXTENSIONS
SETLOCAL ENABLEDELAYEDEXPANSION set filename=nothing
SET i=0
for /f "usebackq tokens=*" %%a IN (%~1) DO (
echo %%aa set temp=%%~a
echo !temp!
echo !temp:~0,1000!>>a
)
Thanks for your help.
Cannot display a large record(Ex:more than 5000) characters
Modérateur : WIN32-[GG]