i have a batch file that gets hung after searching a text file for a string. I run a psql query, output to txt file, and then search for string "(0 rows)" in the txt file. Somewhere between that 'findstr' statement and my 'if %errorlevel%' statement, my batch file fails with the error "\Business was unexpected at this time". i cannot figure out why. I even googled the phrase and got nothing....
↧