Connecting Tech Pros Worldwide Help | Site Map

Executing .EXE

Dave Karmens
Guest
 
Posts: n/a
#1: Jul 19 '05
What is the preferred method of executing .bat or .exe via ASPs
Curt_C [MVP]
Guest
 
Posts: n/a
#2: Jul 19 '05

re: Executing .EXE


Just for clarification you do mean to execute it on the SERVER correct?
Look here http://www.darkfalz.com/1100/

--
Curt Christianson
Owner/Lead Developer, DF-Software
www.Darkfalz.com


"Dave Karmens" <spam_just1coder@yahoo.ca> wrote in message
news:eWrAha99DHA.1936@TK2MSFTNGP12.phx.gbl...[color=blue]
> What is the preferred method of executing .bat or .exe via ASPs[/color]


Dave Karmens
Guest
 
Posts: n/a
#3: Jul 19 '05

re: Executing .EXE


Yes, sorry. I have tried to ways so far:
1. ASPEXEC
2. WSH

ASPEXEC was *MUCH* faster. I guess it depends on what the EXE is doing
too, but the WSH timed out & the ASPEXEC fires almost immidiately, and
returns without having to wait for the exe to complete.

Curt_C [MVP] wrote:
[color=blue]
> Just for clarification you do mean to execute it on the SERVER correct?
> Look here http://www.darkfalz.com/1100/
>[/color]
Ray at
Guest
 
Posts: n/a
#4: Jul 19 '05

re: Executing .EXE


WSH doesn't have to wait for return either.

http://msdn.microsoft.com/library/en...l/wsMthRun.asp

Ray at work

"Dave Karmens" <spam_just1coder@yahoo.ca> wrote in message
news:eBaxhq#9DHA.1636@TK2MSFTNGP12.phx.gbl...[color=blue]
> Yes, sorry. I have tried to ways so far:
> 1. ASPEXEC
> 2. WSH
>
> ASPEXEC was *MUCH* faster. I guess it depends on what the EXE is doing
> too, but the WSH timed out & the ASPEXEC fires almost immidiately, and
> returns without having to wait for the exe to complete.
>
> Curt_C [MVP] wrote:
>[color=green]
> > Just for clarification you do mean to execute it on the SERVER correct?
> > Look here http://www.darkfalz.com/1100/
> >[/color][/color]


Dave Karmens
Guest
 
Posts: n/a
#5: Jul 19 '05

re: Executing .EXE


Hmmm.... for some reason then WSH timed out while executing, and ASPEXEC
fired right away and returned.

Ray at <%=sLocation%> [MVP] wrote:
[color=blue]
> WSH doesn't have to wait for return either.
>
> http://msdn.microsoft.com/library/en...l/wsMthRun.asp
>
> Ray at work
>
> "Dave Karmens" <spam_just1coder@yahoo.ca> wrote in message
> news:eBaxhq#9DHA.1636@TK2MSFTNGP12.phx.gbl...
>[color=green]
>>Yes, sorry. I have tried to ways so far:
>>1. ASPEXEC
>>2. WSH
>>
>>ASPEXEC was *MUCH* faster. I guess it depends on what the EXE is doing
>>too, but the WSH timed out & the ASPEXEC fires almost immidiately, and
>>returns without having to wait for the exe to complete.
>>
>>Curt_C [MVP] wrote:
>>
>>[color=darkred]
>>>Just for clarification you do mean to execute it on the SERVER correct?
>>>Look here http://www.darkfalz.com/1100/
>>>[/color][/color]
>
>
>[/color]
Dave Karmens
Guest
 
Posts: n/a
#6: Jul 19 '05

re: Executing .EXE


sorry ray, I should have read that article before replying :) I know
what the problem was ..

[bWaitOnReturn] was set to true :S

Ray at <%=sLocation%> [MVP] wrote:
[color=blue]
> WSH doesn't have to wait for return either.
>
> http://msdn.microsoft.com/library/en...l/wsMthRun.asp
>
> Ray at work
>
> "Dave Karmens" <spam_just1coder@yahoo.ca> wrote in message
> news:eBaxhq#9DHA.1636@TK2MSFTNGP12.phx.gbl...
>[color=green]
>>Yes, sorry. I have tried to ways so far:
>>1. ASPEXEC
>>2. WSH
>>
>>ASPEXEC was *MUCH* faster. I guess it depends on what the EXE is doing
>>too, but the WSH timed out & the ASPEXEC fires almost immidiately, and
>>returns without having to wait for the exe to complete.
>>
>>Curt_C [MVP] wrote:
>>
>>[color=darkred]
>>>Just for clarification you do mean to execute it on the SERVER correct?
>>>Look here http://www.darkfalz.com/1100/
>>>[/color][/color]
>
>
>[/color]
Ray at
Guest
 
Posts: n/a
#7: Jul 19 '05

re: Executing .EXE


Yeah, read man! :P

Ray at work

"Dave Karmens" <spam_just1coder@yahoo.ca> wrote in message
news:ebSAHC$9DHA.1936@TK2MSFTNGP12.phx.gbl...[color=blue]
> sorry ray, I should have read that article before replying :) I know
> what the problem was ..
>
> [bWaitOnReturn] was set to true :S
>
> Ray at <%=sLocation%> [MVP] wrote:
>[color=green]
> > WSH doesn't have to wait for return either.
> >
> > http://msdn.microsoft.com/library/en...l/wsMthRun.asp
> >
> > Ray at work
> >
> > "Dave Karmens" <spam_just1coder@yahoo.ca> wrote in message
> > news:eBaxhq#9DHA.1636@TK2MSFTNGP12.phx.gbl...
> >[color=darkred]
> >>Yes, sorry. I have tried to ways so far:
> >>1. ASPEXEC
> >>2. WSH
> >>
> >>ASPEXEC was *MUCH* faster. I guess it depends on what the EXE is doing
> >>too, but the WSH timed out & the ASPEXEC fires almost immidiately, and
> >>returns without having to wait for the exe to complete.
> >>
> >>Curt_C [MVP] wrote:
> >>
> >>
> >>>Just for clarification you do mean to execute it on the SERVER correct?
> >>>Look here http://www.darkfalz.com/1100/
> >>>[/color]
> >
> >
> >[/color][/color]


Closed Thread