02-29-2004, 07:24 AM
Getting the true command line isn't that hard...
Code:
DIM Regs AS RegTypeX
Regs.ax = &H2F00
InterruptX &H21, Regs, Regs
DEF SEG = Regs.es
Offset = Regs.bx
Length = PEEK(Offset)
FOR x = Offset + 1 TO Offset + Length
Com$ = Com$ + CHR$(PEEK(x))
NEXT