473,473 Members | 2,004 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Executing .EXE

What is the preferred method of executing .bat or .exe via ASPs
Jul 19 '05 #1
6 1758
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" <sp*************@yahoo.ca> wrote in message
news:eW**************@TK2MSFTNGP12.phx.gbl...
What is the preferred method of executing .bat or .exe via ASPs

Jul 19 '05 #2
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/

Jul 19 '05 #3
WSH doesn't have to wait for return either.

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

Ray at work

"Dave Karmens" <sp*************@yahoo.ca> wrote in message
news:eB**************@TK2MSFTNGP12.phx.gbl...
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/

Jul 19 '05 #4
Hmmm.... for some reason then WSH timed out while executing, and ASPEXEC
fired right away and returned.

Ray at <%=sLocation%> [MVP] wrote:
WSH doesn't have to wait for return either.

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

Ray at work

"Dave Karmens" <sp*************@yahoo.ca> wrote in message
news:eB**************@TK2MSFTNGP12.phx.gbl...
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/


Jul 19 '05 #5
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:
WSH doesn't have to wait for return either.

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

Ray at work

"Dave Karmens" <sp*************@yahoo.ca> wrote in message
news:eB**************@TK2MSFTNGP12.phx.gbl...
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/


Jul 19 '05 #6
Yeah, read man! :P

Ray at work

"Dave Karmens" <sp*************@yahoo.ca> wrote in message
news:eb**************@TK2MSFTNGP12.phx.gbl...
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:
WSH doesn't have to wait for return either.

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

Ray at work

"Dave Karmens" <sp*************@yahoo.ca> wrote in message
news:eB**************@TK2MSFTNGP12.phx.gbl...
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/


Jul 19 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: rvdw | last post by:
Hi All, I've a serious problem with executing stored procedures (SQL2000) from an Access db (version 97). After executing a stored procedure , msaccess hangs. The whole call to the procedure is...
0
by: Nick Coghlan | last post by:
Anyone playing with the CPython interpreter's new command line switch might have noticed that it only works with top-level modules (i.e. scripts that are directly on sys.path). If the script is...
15
by: Nick Coghlan | last post by:
Python 2.4's -m command line switch only works for modules directly on sys.path. Trying to use it with modules inside packages will fail with a "Module not found" error. This PEP aims to fix that...
10
by: Heiko Pliefke | last post by:
Hi NG! I wrote a stored procedure which at first deletes 100.000 rows and then inserts 100.000 new rows. There is a huge difference between executing this SP in the query-analyzer (runtime...
4
by: chris.dunigan | last post by:
I'm looking for an example of how to execute an existing DTS­ package from an ASP (VB)script and would appreciate any and all response. ­I don't even know if it's possible Thanks - Chuck...
7
by: Jibey | last post by:
Hello: I'm facing a very strange problem. When I run my Web application in Visual Studio.NET the Page_Load event is not executing. Other events like a Button_Click are executing. It doesn't...
0
by: whidbeywave | last post by:
Hello all, Help me understanding this situtation. While debugging a scenario for error 403.9 on IIS/XP Pro, I added two counters to perfmon app.I saw at some point of time Session Active =0 , but...
7
by: tshad | last post by:
I thought I understood how the SaveViewState is working and was trying to use this (as per some code I found) to detect refreshes. It seemed to be working but I found that the SaveViewState was...
5
by: reycri | last post by:
Hi, I need to be able to do this: var func = new Function("var me = <selfRef>; alert(me.params);"); func.params = "This is a test parameter"; window.setTimeout(func, 500); Basically, I...
7
by: robin1983 | last post by:
Hi, good morning everyone, i have a file called attendence.php The problem is that some part of code is executing properly and half of the code is not and i dont get any warning or error message. For...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.