in reply to Why I get a display "Access is denied" when i run my perl script on my pc?

Which Perl do you have installed? ActiveState? If not, give it a shot; I had some great successes with it the last time I had to do anything Perl wise in Windows (which, admittedly, was a while ago).
  • Comment on Re: Why I get a display "Access is denied" when i run my perl script on my pc?

Replies are listed 'Best First'.
Re^2: Why I get a display "Access is denied" when i run my perl script on my pc?
by snowsky (Initiate) on Jan 19, 2007 at 21:48 UTC

    Hi,

    my perl version is v5.8.2 built for MSWin32-x86-multi-thread.

    I think it is the ActiveState perl

    Any idea why it doesn't work??

    Thanks

    C.

      Did you install it using the *.MSI installer file or did you use the *.ZIP file? The installer sets up the file associations for you.

      I see that you are using an older version of Perl. Perhaps uninstall it and try installing the latest version.

      Otherwise have a look here.

      However, I don't think it is a file association problem. If the file associations are not right, you get a request to choose a program to run your file, not an "access is denied" box. It looks to me that this has something to do with you not being authorized to access that file or the script runs all right but then does something you have no authority to do.

      CountZero

      "If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law

      Hmm.... you said you were running this from the command line; what is the exact command that you are using from the prompt to run the script?