Ask a Question related to ASP, Design and Development.
-
Srichand #1
invoke a command line program in ASP
<%
Dim oShell
Dim iRreturn
Set oShell = GetObject("","Wscript.Shell")
If oshell is nothing Then
Set oShell = Server.CreateObject("Wscript.Shell")
End If
oShell.Run "notepad.exe",3, iRreturn
Set oShell = Nothing
%>
When I run the above code no error message is displayed
but notepad.exe is not displayed. Every time I execute
this code new Process ID is created for notepad and this
can be found in the task manager. I have granted launch
permissions to anonymous and interactive user accounts. In
Home Tab the application configuration is as follows
Allow scripts and executable and application is low pooled.
Awaiting solution. Thanks in advance.
Srichand Guest
-
How to invoke a CGI script within a Perl program ?
Hi, I have a perl program does something and then I need to invoke this url "http://webstarter.xxxx.com/cgi-bin/StartBuild.cgi" before the end... -
Program handles Gui event while staying in WebServiceProxy.Invoke() when debugging
Hello, When calling the Invoke() method of a web service proxy class, this normally is a synchroneous call, that stays untill the results are... -
Cannot execute command line program in cmd.exe under aspx form
Hi All. I am trying to run an exe application under aspx page using System.Diagnostics.ProcessStartInfo and System.Diagnostics.Process. The... -
RUN/execute a Command-Line command from an ASP page.
Hi, I need to RUN/execute a Command-Line command from an ASP page. This is the command: sse45.exe -i k:\o\2.wmv -o k:\o\2.shh -w 128 -df 0 -m 2... -
Interrupting program from command line
Alex Vinokur wrote: How about this? (for tcsh -- the exact syntax may differ if you use another shell) $ my_program & ; sleep 6 ; kill $! -
Tom Kaminski [MVP] #2
Re: invoke a command line program in ASP
"Srichand" <asrichan@chn.cognizant.com> wrote in message
news:101e01c393de$b2a81ad0$a101280a@phx.gbl...Please don't multi-post. Answered in another forum ...> <%
> Dim oShell
--
Tom Kaminski IIS MVP
[url]http://www.iistoolshed.com/[/url] - tools, scripts, and utilities for running IIS
[url]http://mvp.support.microsoft.com/[/url]
[url]http://www.microsoft.com/windowsserver2003/community/centers/iis/[/url]
Tom Kaminski [MVP] Guest



Reply With Quote

