Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: \Business was unexpected at this time

07 Sep 2012   #1

7 64bit
\Business was unexpected at this time

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. Anyone have an idea how to make this go away?
When i turn off '@echo off' and run bat from cmd, i see the error inbetween findsrt and if statments. However in the output it shows cd as the next statment, which in my code it definately isnt.
psql ------options and statement
findstr /C:"(0 rows)" "%clinic%"results2.txt > NUL 2>&1
if %errorlevel%==1 (
D:\Program Files (x86)\PostgreSQL\9.1\bin>findstr /C:"(0 rows)" results2.txt  1>NUL 2>&1
\Business was unexpected at this time.
D:\Program Files (x86)\PostgreSQL\9.1\bin>cd c:\Program Files (x86)\Business Objects\Common\3.5\bin\NOTES\;c:\Program Files (x86)\Business Objects\Common\3.5\bin\NOTES\DATA\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;d:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;d:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;d:\Program Files\Microsoft SQL Server\100\Tools\Binn\;d:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\
D:\Program Files (x86)\PostgreSQL\9.1\bin>

My System SpecsSystem Spec


 \Business was unexpected at this time

Thread Tools

Similar help and support threads for2: \Business was unexpected at this time
Thread Forum
new Business need help Network & Sharing
Solved "Unexpected Shutdown" every time computer sleeps or hibernates BSOD Help and Support
Run-time error 50003: Unexpected Error Installation & Setup
business plan Chillout Room
Copy non-business contact info to new non-business contact? Microsoft Office
Business card General Discussion

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 10:54 PM.
Twitter Facebook Google+

Windows 7 Forums

Seven Forums Android App Seven Forums IOS App

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33