Shell with params

Hi there,Is there a way to run a .NET program from LotusScript and pass paramaters to it?

For example, a user clicks on a button, it prompts them for the To and From Date. Once entered, it runs a .exe file and sends the To and From Dates as parameters to the .NET program. Is this possible.

Something like.

Shell(“TestProgram.exe” ToDate FromDate)?

Subject: shell with params

Using LotusScript create a text file, with “TestProgram.exe ToDate FromDate” as the contents, and name it myfile.bat. Then call Shel(“myfile.bat”).

There is no direct way of passing parameters.

Regards,

Litty Joseph

Subject: RE: shell with params

Hi Litty Joseph,

Thank you for your reply. Tried that (batch file), but it didn’t work for me. Got it figured out though and thought I would post it on here for other future “searchers” on this topic.

result = Shell("C:\ProgramToRun " & param1 & " " & param2, 1)

It works wonderfully!

Thanks