in reply to Re: How to set Parameter for a .pl in Windows Task Scheduler?
in thread How to set Parameter for a .pl in Windows Task Scheduler?

Thank you Corion!
Your guess is correct, but i still wonder why it can't find perl.exe(i 've already writen in header)
anyway, it runs now.
  • Comment on Re: Re: How to set Parameter for a .pl in Windows Task Scheduler?

Replies are listed 'Best First'.
Re: Re: Re: How to set Parameter for a .pl in Windows Task Scheduler?
by nimdokk (Vicar) on Sep 24, 2003 at 12:35 UTC
    Very simply put, Windows does not understand the shebang (#!) line. That is a Unix-only convention. I would suggest checking the docs that come with ActiveState Perl about commandline usage. Look at the "Perl/html/faq/Windows/ActivePerl-Winfaq4.html" document, it should have most if not all of the answers you might be looking for in this matter.

    Hope that helps. Happy reading :-)


    "Ex libris un peut de tout"