在ASP.NET运行shell命令命令、ASP、NET、shell

2023-09-03 01:15:03 作者:时间才是最大的情敌

如何运行在asp.net中shell命令?

How do i run a shell command in asp.net ?

我基本上要像系统(netstat的-an);

我不希望输出要显示给用户。只是想运行一些维护命令。

I don't want the output to be displayed to the user. Just want to run some maintenance commands.

推荐答案

呼叫 System.Diagnostics.Process.Start(netstat的,-an); 作为通常