If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > Ecexuting exe file throught ASP

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-22-04, 05:49
rajesh_r_r rajesh_r_r is offline
Registered User
 
Join Date: Jan 2004
Location: India
Posts: 168
Ecexuting exe file throught ASP

Hi All
Let me tell you my setup first
Windows 2003 Server
IIS 6.0
ASP

Now i want to execute an .exe file from my asp script. Whe i try with Wscript.shell or exec it does not give any error neither an output.
What should I do to make this work How can I execute an .exe file from my script
Any help will be appriciated

Regards
Rajesh

Last edited by rajesh_r_r; 04-22-04 at 05:51.
Reply With Quote
  #2 (permalink)  
Old 04-22-04, 19:51
rokslide rokslide is offline
Registered User
 
Join Date: Nov 2003
Location: Christchurch, New Zealand
Posts: 1,617
So basically what you want is the call an executable file, wait while it runs and then trap any errors it produced and return them back to the asp page so you can do what you like with it,.... right?

With a simple exe you can't really do this...

What you could do is get your exe to generate a results file or something. Before you execute your exe you delete any results files that exist, then run your exe and loop waiting for the results file to turn up.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On