According to the FTP logs, a couple of you are downloading QBAT. It's still undergoing much experimentation and changes. The filename has changed. I have put it in a zipfile, ftp://lucky.syr.edu/4plugins/qbat.zip, along with a brief txtfile.
>I'm still getting an error with QBAT when I do not specify a
>batch file name on the command line. See below. Something is
>inserting "Files\JPSoft\TCMD9\" after the current directory
>name. For the moment I have solved the problem by defining
>an alias that ensures that a file name is specified.
>
>-- Jay
>
>C:\temp>*qbat
>QBAT: Failed to open "C:\temp\Files\JPSoft\TCMD9\tcc.exe"
>
>C:\temp>echo %comspec
>C:\Program Files\JPSoft\TCMD9\tcc.exe
>Before my last reply, I had not read the rest of your message. I just
>downloaded and installed your version with the debug message. Here's
>what I get.
>
>C:\temp>*qbat
>QBAT will use the file: C:\temp\Files\JPSoft\TCMD9\tcc.exe
>QBAT: Bad file extension
> Boy is this strange! Here's the output from the latest debugging version.
>Boy is this strange! Here's the output from the latest debugging version.
>
>-- Jay
>
>C:\temp>*qbat
>psz = ****
>argc = 2
>argv[0] = **C:\Program**
>argv[1] = **Files\JPSoft\TCMD9\tcc.exe**
>QBAT will use the file: C:\temp\Files\JPSoft\TCMD9\tcc.exe
>QBAT: Bad file extension
>Clearly some quotes are missing somewhere in the code, either Vince's
>code or Microsoft's code (or, I suppose, Rex's code). The directory
>"Program Files" is the normal directory for programs in Windows XP.
>(Vince, to answer your question, I'm running XP SP2.)
> Jay, I'm glad to hear it's working better. I added a handy feature ... a single-line
> edit control for parameters to the batch file. There's a new file in place.
>Here's another idea for accomplishing a similar end. How about allowing
>additional parameter on the QBAT command line that would become the
>initial parameter string for the QBAT editing session. Then command-line
>recall or an alias could be used to remember parameters that one wants
>each time.
>Looks like there are still a couple of trace lines in there:
>
>QBAT: idle
>QBAT: running D:\Data\qbat.bat
>
>ON BREAK QUIT
>echo hello
>hello
>
>QBAT: idle
>>QBAT: idle
>>QBAT: running D:\Data\qbat.bat
> QBAT writes "ON BREAK QUIT" at the beginning of the batch file before running
> it. If you're seeing the lines of the batch file, it's because you have batch
> echo on.
>---Quote---
>>Looks like there are still a couple of trace lines in there:
>>
>>QBAT: idle
>>QBAT: running D:\Data\qbat.bat
>>
>>ON BREAK QUIT
>>echo hello
>>hello
>>
>>QBAT: idle
>---End Quote---
>QBAT writes "ON BREAK QUIT" at the beginning of the batch file before running
>it. If you're seeing the lines of the batch file, it's because you have batch
>echo on.
>---Quote---
>>>QBAT: idle
>>>QBAT: running D:\Data\qbat.bat
>---End Quote---
>
>
>---Quote---
>> QBAT writes "ON BREAK QUIT" at the beginning of the batch file before running
>> it. If you're seeing the lines of the batch file, it's because you have batch
>> echo on.
>---End Quote---
>No, it's the QBAT: idle and similar lines I meant. Are they
>intentional? (No problem if they are, I just assumed they were debug
>stuff).
> Yes they're intentional, to help make sense of what's in the console. Have you
> got ideas for any shorter indications of when execution begins/ends? What they
> actually say doesn't help me any.
2008/8/5 vefatica <>:
How about just a line of 10 dashes or so in place of the QBAT: idle
line, and remove the "Running" line altogether? That way each run is
separated by a single line.
Also, can you add an "@" at the start of the ON BREAK QUIT? I don't
have "Default batch echo" switched off, so the ON BREAK line gets
displayed, which is mildly irritating.
Paul.
>Another sudden thought. Would it be worth making the default filename
>QBAT.BTM, to run in the efficient BTM mode?