View Single Post
  #37  
Old September 24th 18, 11:28 AM posted to alt.msdos.batch,alt.windows7.general
Kerr-Mudd,John
external usenet poster
 
Posts: 19
Default how to get the title into task manger 'window'?

On Mon, 24 Sep 2018 09:09:23 GMT, Herbert Kleebauer
wrote:

On 24.09.2018 10:17, Kerr-Mudd,John wrote:
On Sun, 23 Sep 2018 20:32:43 GMT, "Kerr-Mudd,John"
wrote:


I wasn't coding well last night


And also this morning?

The search terminates at the first space, independent
whether it is in or outside a quoted string.


mov ah,0 ; inquotes_flag off
nextc:
lodsb
cmp al,0 ; null terminates
je havestr
cmp al,'"'
jne notaquote

xor ah,1 ; toggle inquotes_flag
jne nextc ; in string, carry on
notaquote:
cmp al,0x20 ; space ends unquoted string
jne nextc
havestr:



Ah; fair enough. So much for me "improving" your code!

--
Bah, and indeed, Humbug.
Ads