Wscript.Shell equivalent

Results 1 to 2 of 2

Thread: Wscript.Shell equivalent

  1. #1
    Join Date
    Dec 1969

    Default Wscript.Shell equivalent

    Hello,<BR>I&#039;m converting some asp w/ VBScript into w/ C#. How do I do a Set WShShell = Server.CreateObject("WScript.Shell") in C#? I need to use this to run a bat file from the script.<BR><BR>Thanks - Trevor

  2. #2
    Join Date
    Dec 1969

    Default RE: Wscript.Shell equivalent

    depends. what does the batch file do? some operations can be done from ASP.NET without having to go out to the shell.<BR><BR><BR>j<BR>

Posting Permissions

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