473,732 Members | 2,205 Online
Bytes | Software Development & Data Engineering Community
+ 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 1779
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******** ******@TK2MSFTN GP12.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******** ******@TK2MSFTN GP12.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******** ******@TK2MSFTN GP12.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******** ******@TK2MSFTN GP12.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******** ******@TK2MSFTN GP12.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******** ******@TK2MSFTN GP12.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
2259
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 running fine, but immediatly after this msaccess hangs, when the focus goes back to the calling form ? Has anyone any idea what i can test or look at. Thanks a lot !!!!!!
0
1957
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 inside a package, the invocation will fail with a "Module not found" error. This PEP is aimed at fixing that :) Cheers, Nick.
15
2609
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 for Python 2.5. Previously, posting of a draft version of the PEP to python-dev and python-list didn't actually generate any responses. I'm not sure if that's an indication that people don't see the restriction to top-level modules as a problem...
10
1853
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 approx. 2 minutes), and scheduling this SP as an Job (runtime > 30 minutes!!!). Why? Whats the issue?
4
12681
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 Gatto Dan Guzman Apr 27 2000, 12:00 am show options
7
5245
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 matter whether I'm running the application in VS.NET or browsing it using http://localhost/... the Page_Load event is not executing under either conditions. I've determined that this problem occurs in both VB.NET and VC#.NET. The Page_Load event...
0
1383
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 requests executing was greater than zero. Summarizing it Session Active =0 Requests Executing =10 Requests in application Queue =0 All this time I had assumption that request that undergo execution lock
7
2809
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 executing twice on load of page and can't figure out why. I was writing out to a text file in the SaveViewState event and it was writing it twice everytime a page was loaded (whether on an initial load of the page or Postback). I took out the...
5
2481
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 need to add properties to a function object and access them within the function when it is executing. Therefore, I need to be
7
2221
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 more information i m giving the whole code below. please give me the solution, the code is executing upto line no 95 (echo $halfday;) and after this line not a single code is executing. i am not able to get solution. So plaease help me in solving...
0
8946
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8774
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9447
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9235
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9181
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8186
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4550
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3261
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2180
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.