Hi All,
I need to convert the below line of code to lotusscript code. Can this be done? Please help.
@Command( [Execute]; “C:\Program Files\XYZ\x.exe”; "/d PROD /c " + @Environment("TKT))
Thanks,
G
Hi All,
I need to convert the below line of code to lotusscript code. Can this be done? Please help.
@Command( [Execute]; “C:\Program Files\XYZ\x.exe”; "/d PROD /c " + @Environment("TKT))
Thanks,
G
Subject: sure can
just look in designer help for “Execute” and “Environment” and use the Lotus Script cross-reference guides.
Subject: parameter for the exe
I am using Shell command to open the exe, but how should the parameter \D Prod \C + Tkt has to be passed in Shell command?
result = Shell("C:\Program Files\XYZ\x.exe \D Prod \C "+Tkt, 1)
is executing without any error, but Tkt value is not passed to the application opened.
Subject: try this
Assuming you are Tkt is a variable in your lotusscript code …
result = Shell("C:\Program Files\XYZ\x.exe \D Prod \C “| + Tkt + |”, 1)
have not tested this but it should work. If not please post all of your code so I can better understand how you have everything structured.