Wrox Programmer Forums
|
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." 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 Basics 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
 
Old June 18th, 2008, 04:01 AM
Registered User
 
Join Date: Jun 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default run .exe in asp

Hello, I am trying run .exe in server by asp page.

I use this code

Code:
Set objWSCript = CreateObject("WSCript.Shell")
objWSCript.Run ("C:\run.exe C200 " , 1, False )
Set objWSCript = nothing
It's not throwing an error and the taskmanager says that the program is running buy it doesn't actually appear on the desktop and it doesn't execute the code in the exe.

I've tried to set permissions on the iusr and iwam accounts, actually i've given full control to everything but it still doesn't work.

Any ideas?






Similar Threads
Thread Thread Starter Forum Replies Last Post
how to run an exe application from ASP vik_asp Classic ASP Components 5 March 8th, 2013 02:18 AM
How to run desktop .exe from asp ? Tom Carr Classic ASP Basics 7 April 17th, 2007 09:58 AM
how to run exe (vb) from asp annatg75 Classic ASP Basics 1 September 19th, 2006 07:26 AM
how to run exe file from ASP? Andraw Classic ASP Basics 1 September 23rd, 2005 06:32 AM
Regarding To run EXE from ASP vppatil_20 Classic ASP Components 1 September 9th, 2004 03:08 PM





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