Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

USBMONITOR command

May
3,515
5
I have just resumed using this command, and discovered that the command it
executes when a monitored event occurs does not inherit the UnicodeOutput=No
setting. How do I force an ECHO command to append ASCII, not Unicode, to an
existing ASCII log, short of executing "option //UnicodeOutput=no" by the
command on each event?

Another issue: the batch file my command calls executes a single MSGBOX
command, but two consecutive messageboxes pop up, the second after the first
is closed.

Lastly: HELP for each of the "monitor" commands states that they each create
"environment variables", but aren't the variables created actually "internal
variables"?
--
Steve
 
> I have just resumed using this command, and discovered that the command
> it executes when a monitored event occurs does not inherit the
> UnicodeOutput=No setting. How do I force an ECHO command to append ASCII,
> not Unicode, to an existing ASCII log, short of executing "option
> //UnicodeOutput=no" by the command on each event?

The monitoring commands have nothing to do with Unicode output; that's set
either at startup time or interactively with UnicodeOutput. ECHO doesn't
have any idea whether it's outputting ASCII or Unicode; it just passes the
STDOUT to the generic output routine, which tests for redirection and then
for UnicodeOutput.

Please post a minimal batch file here that shows the problem you're seeing.


> Another issue: the batch file my command calls executes a single MSGBOX
> command, but two consecutive messageboxes pop up, the second after the
> first is closed.

Not reproducible here -- I'd have to see your batch file.


> Lastly: HELP for each of the "monitor" commands states that they each
> create "environment variables", but aren't the variables created
> actually "internal variables"?

No, they're environment variables. (Though with the leading _ they look
superficially like internal variables.)

Rex Conn
JP Software
 

Similar threads

Back
Top