p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.

Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old November 4th, 2009, 04:10 PM
Authorized User
Points: 61, Level: 1
Points: 61, Level: 1 Points: 61, Level: 1 Points: 61, Level: 1
Activity: 2%
Activity: 2% Activity: 2% Activity: 2%
 
Join Date: Feb 2008
Location: San Diego, Ca, .
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
batch file for perl script arunsand ASP.NET 2.0 Professional 2 March 9th, 2009 06:50 PM
connecting to XML document with Perl script crmpicco XML 0 October 18th, 2006 01:00 PM
Active X Script - Exec St Proc w\ Output Parmeter lwendt33 BOOK: Professional SQL Server 2000 DTS 0 February 1st, 2005 12:35 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 04:12 AM



All times are GMT -4. The time now is 05:42 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© 2008 Wiley Publishing, Inc