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 November 4th, 2009, 04:10 PM
Authorized User
 
Join Date: Feb 2008
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default ASP can't exec perl script

I get a bad format error with the below stuff. Yet the dos dir command works fine. I don’t get it. The perl script works from the commandline and changes my file permissions. Can you help?
Dim Executor
Dim strResult
Set Executor = Server.CreateObject("ASPExec.Execute")
'Executor.Application = "cmd /K dir >C:\temp\log.txt"
Executor.Application = "C:\Inetpub\wwwroot\Test\GCI\scripts\permissions.p l"
Executor.Parameters = ""
Executor.ShowWindow = True
Executor.TimeOut = 120
strResult = Executor.ExecuteWinApp
Response.Write strResult





Similar Threads
Thread Thread Starter Forum Replies Last Post
batch file for perl script arunsand ASP.NET 2.0 Professional 2 March 9th, 2009 05:50 PM
connecting to XML document with Perl script crmpicco XML 0 October 18th, 2006 12:00 PM
Active X Script - Exec St Proc w\ Output Parmeter lwendt33 SQL Server DTS 0 February 1st, 2005 12:30 PM
How to Perl script in Windows 2000 Pro? mittalpa Flash (all versions) 1 July 9th, 2003 03:12 AM





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