trying to run executable on server

  • Thread starter Thread starter Kevin O'Brien
  • Start date Start date
K

Kevin O'Brien

Hey guys,

I am trying to run an exe on the server with the following line and it is
not working. Any help would be greatly appreciated!

Thanks,
Kevin

Dim myProcess As Diagnostics.Process =
System.Diagnostics.Process.Start("d:\bin\discover.exe -r server01 -7
wxpmis01 -v 9")
 
Does the aspnet account just needs read and execute rights to the folder?

Thank you,
Kevin
 
Does the aspnet account just needs read and execute rights to the folder?

Thank you,
Kevin








- Show quoted text -

I think this should be enough...

Why do you think the process is not working? You don't see an output,
or it doesn't make any result?

I see, you have an arguments in the string

try to call it using as follows (I don't know if it makes any
difference)

Process.Start("d:\bin\discover.exe",
"-r server01 -7 wxpmis01 -v 9");

http://msdn2.microsoft.com/en-us/library/h6ak8zt5(VS.80).aspx
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top