Given the DOS execute line of
utils.exe c:\oscar d:\colpas "oscar
colpas"
I would like to get the three parameters into variables in my pascal program to have these string values....
a = "c:\oscar"
b = "d:\colpas"
c = "oscar
colpas"
Using ParamStr would ignore the spaces in between oscar and colpas.
A:
A: Delphis System Unit has a variable called CmdLine which points
to the full command line (zero-terminated). You can copy it into a Pascal
String with StrPas( CmdLine );