N
noone
I'm trying execute a command from vb.net and when I run this I don't get errors just nothing happens
I tried process.start, wsscript object, they both do the same thing.. nothing.
Is there a trick to get this to run on a 2003 server. Is there a setting that I'm missing?
Thanks
Go.bat
dir > files.txt
-------------------------------
<%@ Page aspcompat=true %>
<%@ import Namespace="System.Data" %>
<%@ import Namespace="System.IO" %>
< %@Import Namespace="System.Diagnostics" %>
<%
System.Diagnostics.Process.Start("f:\inetpub\webtools\fiscicp\go.bat")
'shell("f:\inetpub\webtools\fiscicp\go.bat")
DIM strACLCommand
Dim myexec
Dim oScript
'oScript = Server.CreateObject("WSCRIPT.SHELL")
'strACLCommand = "f:\inetpub\webtools\fiscicp\go.bat"
'Call oScript.Run(strACLCommand)
%>
I tried process.start, wsscript object, they both do the same thing.. nothing.
Is there a trick to get this to run on a 2003 server. Is there a setting that I'm missing?
Thanks
Go.bat
dir > files.txt
-------------------------------
<%@ Page aspcompat=true %>
<%@ import Namespace="System.Data" %>
<%@ import Namespace="System.IO" %>
< %@Import Namespace="System.Diagnostics" %>
<%
System.Diagnostics.Process.Start("f:\inetpub\webtools\fiscicp\go.bat")
'shell("f:\inetpub\webtools\fiscicp\go.bat")
DIM strACLCommand
Dim myexec
Dim oScript
'oScript = Server.CreateObject("WSCRIPT.SHELL")
'strACLCommand = "f:\inetpub\webtools\fiscicp\go.bat"
'Call oScript.Run(strACLCommand)
%>