grub4dos
grub4dos copied to clipboard
echo -P:XXYY does not accept numbers larger than 99
In 1024x768 mode we have 128 columns, so cannot position past column 99

suggest echo also accepts two-digit hex numbers using -p: instead of -P: ???
e.g.
echo -p:0a6e
have a try. clear ;; echo -P:0811 1234567890 clear ;; echo -P:0x080x0b 1234567890 grldr.rar.txt
If get a hex value less than 16 using set /A then we get values of 0xb for instance. Can it cope with 3 character values? It is more difficult to change 0xb to 0x0b which is why I suggested using -p
Adding - p: cannot simply solve the problem. The key is to separate XXYY.
-P:0xf0xf -P:0xf-0xf -P:0x110xf -P:0x11-0x11 grldr.rar.txt
Can't just add a hyphen ???

-P:0x12-0x12 not working ?

It is not a connector, but a negative number sign.
It is not a connector, but a negative number sign.
sorry, you said 'The key is to separate XXYY' so I assumed it was a separator!
so cannot have hex followed by decimal?
e.g.
echo -P:0x505 HELLO
does not work.
Either all decimal or all hexadecimal
OK. maybe help text could be changed

XX and YY are both 2 digit decimal or both 3/4 character hex. Can precede with - sign for position from end.
Looks good :-)
adopt