GetCommandTail PROC

   Copies the tail of the program command line into a 129-byte buffer (after stripping off the first argument - the program's name).
   Each argument in the command line tail is followed by a space, except for the last argument which is followed by a null..

Call args:  EDX points to receiving buffer

Return arg: CF=1 if no command tail
            CF=0 if tail not null
Example:

.data
tailBuf BYTE 129 DUP (?)

.code
        mov  edx,OFFSET tailBuf
        call GetCommandTail
        jc   noTail
        ...         ;process tail
noTail:
Converted from CHM to HTML with chm2web Pro 2.85 (unicode)