1. Running the FoxPro exe

U can use Windows Scripting Host COM component to do the deed.

 

http://www.asp101.com/articles/jason/reversedns/default.asp

 

This example will run a program in CMD prompt mode and Pipe to a text
file.

 

NOTE: you need to be precise in specifying the File Path to your FoxPro
application.

 

NOTE: you could pass parameters to the exe program see link below for
examples

 

http://www.ss64.com/wsh/run.html

 

 

2. Use FileSystemObject to read the resulting text file

 

see Chaz's learnasp site:

 

http://www.learnasp.com/learn/txtread.asp

 

 

GetSmartPaul

 

 

-----Original Message-----
From: mcc_gagan [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 23, 2004 12:13 AM
To: [EMAIL PROTECTED]
Subject: [AspClassicAnyQuestionIsOk] running a executable from asp

 

Hay all there

I am having a foxprox 2.6 (dos) exe file, which i wanted to execute 
from my asp script. this exe produces a text file which is to be 
shown in the result. Can you please help me that how can i execute 
this file from asp script.


Gagan Kundra







Yahoo! Groups Sponsor



ADVERTISEMENT
 
<http://us.ard.yahoo.com/SIG=129uost4o/M=298184.5285298.6392945.3001176/
D=groups/S=1705006764:HM/EXP=1093349813/A=2319498/R=0/SIG=11thfntfp/*htt
p:/www.netflix.com/Default?mqso=60185352&partid=5285298> click here


 
<http://us.adserver.yahoo.com/l?M=298184.5285298.6392945.3001176/D=group
s/S=:HM/A=2319498/rand=999086513> 

 

  _____  

Yahoo! Groups Links

*         To visit your group on the web, go to:
http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/
  

*         To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]
subscribe> 
  

*         Your use of Yahoo! Groups is subject to the Yahoo! Terms of
<http://docs.yahoo.com/info/terms/>  Service. 



[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/saFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to