Re: Command to run on server with vb.net
- From: "noone" <noone@xxxxxxxxxxx>
- Date: Fri, 7 Apr 2006 10:59:08 -0400
I think I found what my problem is, I was using Impersonation, and even though it was an admin account it doesn't execute.
"noone" <noone@xxxxxxxxxxx> wrote in message news:uk9Np1kWGHA.4132@xxxxxxxxxxxxxxxxxxxxxxx
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)
%>
- References:
- Command to run on server with vb.net
- From: noone
- Command to run on server with vb.net
- Prev by Date: Re: Calling dll functions from vb.net with pointer returns!
- Next by Date: Re: How to declare char string pointer in VB?
- Previous by thread: Command to run on server with vb.net
- Next by thread: Retrieveing full Username from Enviroment?
- Index(es):
Relevant Pages
|
