在vs2003下:
Process p=new Process();
p.StartInfo.FileName= "notepad.exe ";
p.Start();
为何打不开记事本呢?请高手指点!
------解决方案--------------------------------------------------------
这是服务器后台运行的程序是没有界面的。只有一个进程。
------解决方案--------------------------------------------------------
var wsh = new ActiveXObject( 'WScript.Shell ');
wsh.Run( "C:\\WINDOWS\\system32\\notepad.exe ");