I'm guessing the '=' char is the culprit.
Just doing fileread in a do/while and today discovered it stopped prematurely. Guessing the '=' in the line it didn't process is the cause.
So, trial and error,
setdos /x-3
fileread
setdox /x0
gets around that problem.
So I'd like for the read to ignore (not interpret/process) any of the file content. Is there a single switch for that?
Fortunately @word can process the string now but if I try to echo it for debugging purposes, the batch file stops. Wrapping setdos around the echo doesn't work.
setdos /x-3
echo %lineread
setdox /x0
Just doing fileread in a do/while and today discovered it stopped prematurely. Guessing the '=' in the line it didn't process is the cause.
So, trial and error,
setdos /x-3
fileread
setdox /x0
gets around that problem.
So I'd like for the read to ignore (not interpret/process) any of the file content. Is there a single switch for that?
Fortunately @word can process the string now but if I try to echo it for debugging purposes, the batch file stops. Wrapping setdos around the echo doesn't work.
setdos /x-3
echo %lineread
setdox /x0
Last edited: