Jump to content

Recommended Posts

Posted

When I use this code, I get an error saying something like, the external file can not be opened.

$PID1 = Run("C:\test.pl")

Do I need to open Perl first?

Any help would be much appreciated.

Thank you.

Posted

When I go to start, run, and type in C:\test.pl the file will open and run properly, but when I use this code:

$PID1 = Run(@ComSpec & " /c start " & "C:\test.pl")

I get the following error:

Use of uninitialized value in numeric lt (<) at C:\test.pl line 30

Posted (edited)

sounds like a variable issue within the perl script. Can you post the perl script up here?

Edited by MSLx Fanboy

Writing AutoIt scripts since

_DateAdd("d", -2, _NowCalcDate())
Posted

The perl script runs when I double click it or if I run it from start->run, so I do not believe that it is the perl code.

The problem only happens when I try to run the script through autoit.

Any solutions?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...