Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Classic ASP Professional For advanced coder questions in ASP 3. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old June 30th, 2005, 05:18 AM
Authorized User
Join Date: Jun 2003
Location: , , United Kingdom.
Posts: 40
Thanks: 0
Thanked 0 Times in 0 Posts
Default asp and command line EXE

I discovered this gmail-spell-check-ripoff made in PHP using something call aspell.


It works in a very user friendly way but
A. im not a PHP man and
B. Im not using linux. what can i say, i like asp :)


aspell is available for windows as a command line tool.
how would i run this .exe on the server from an asp script? would i be able to get the output from the EXE into an .asp page or would i have to send the output as a text file to a folder on the web server?
we have iis6 on winServer2003.
  #2 (permalink)  
Old June 30th, 2005, 08:36 AM
Friend of Wrox
Join Date: Jul 2003
Location: , , United Kingdom.
Posts: 683
Thanks: 0
Thanked 1 Time in 1 Post

You could run the .exe at the command line using a Wscript.Shell object's Run() method.

I don't think you can get the output from the .exe straight back, but if aspell can output it's data to a text file, you could read the text file using a TextStream and output that to your asp page.



Similar Threads
Thread Thread Starter Forum Replies Last Post
XQuery from command line Tomi XSLT 2 January 16th, 2008 01:58 PM
Asp Command Line dizzy1 Classic ASP Basics 1 August 30th, 2007 06:32 PM
command line switches pakman Excel VBA 3 June 9th, 2005 08:29 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.