This code should do the trick for a command line app assuming it doesn't
require any user interaction:
Dim myprocess As System.Diagnostics.Process = New
System.Diagnostics.Process()
myprocess.StartInfo.FileName = "c:\SomeProgram.exe"
myprocess.StartInfo.WorkingDirectory = "C:\"
myprocess.StartInfo.Arguments= " file.txt -s -m"
myprocess.Start()
If you run into security problems you might try using impersonation to run
ASP.NET under a user account that has more permissions than the standard
ASPNET user account.
Here's more info on impersonation:
http://msdn.microsoft.com/library/de...ersonation.asp
--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
"greg" <gr***@insauctionNOSPAM.com> wrote in message
news:%2******************@TK2MSFTNGP11.phx.gbl...
Is it possible
I need to give web site users basically thru URL run a job (custom console
program)
on the server
CANNOT find ANY reading help
I can guess securitycan be an issue too
Thanks
GSL