
July 3rd, 2004, 11:57 AM
|
|
Registered User
|
|
Join Date: Jul 2004
Posts: 3
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
Passing options to a command line
Hello.
I am a totally newbie in ASP / vb programming and it is not my daily work but I would like
some help from you guys if possible.
I need an ASP / VB code that will pass some variables as options to a command line.
Let's say I need to execute a program with some options and I need the user
to select the otions from the web interface.
The command line will look something like this:
Program.exe /usename:username /password:password /options:option1,option2,option3
The the user will access a web page and it will be asked for the username , password and
it will be able to select the options by marking them on the page.
After the selection the command line will be executed with the selected oprions.
If somebody can point me to some example code or any hints to get me started I would
appreciated it.
It is possible to specify also the credentials the "program.exe" should run under?
Thank you in advance.
|