Hello,
Does anyone know how to pass more than 1 variable to COMMAND$? I am
trying to trap DOS environment variables...here is my example:
TEST.BAT
--------
UPLOAD %1 %2
TEST.BAS
--------
CLS
Parm1$ = COMMAND$
PRINT "WORKING..."
OPEN "TEST.DAT" FOR APPEND AS #1
PRINT #1, COMMAND$
CLOSE #1
END
The program reads the %1 fine, but never sees the %2. The program that
will pass the %1 & %2, passes the filename as %1 and the file-extention
as %2. I've got other programs that I need to pass multiple parameters
to (ie. "TEST 1 3 OUTPUT.TXT"), but can on figure how to pass 1 of the
parameters...the first one.
Thanks...
-Ron
* RM 1.3 03129 * Yum, said Pooh, as he licked the hunny off of Bo Derek.
--- TriToss (tm) Professional 10.0 - #229
---------------
* Origin: * Dynasty BBS * The home of Dungeon Software * (1:110/1065.0)
|