executing server-side command lines

Results 1 to 2 of 2

Thread: executing server-side command lines

  1. #1
    Join Date
    Dec 1969

    Default executing server-side command lines

    I know you can use ASPExec to execute command lines with Classic ASP, but how can you do this with ASP.NET? The code I had for ASPExec doesn't work and I can't figure how to accomplish this either with or without ASPExec. Any ideas!?

  2. #2
    Join Date
    Dec 1969

    Default Check out the Process class

    Check out the Process class:<BR>ms-help://MS.VSCC/MS.MSDNVS/cpref/html/frlrfSystemDiagnosticsProcessMembersTopic.htm<BR>< BR>It is in the System.Diagnostics namespace and contains a Start static method that might getcha what you want. I _assume_ you can use this technique through an ASP.NET Web page, but I&#039;m not 100% certain. FYI, I have used Process.Start through a C# WinForms app before. hth

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts