From: Jorge Goncalvez <[EMAIL PROTECTED]>
> Hi, I tried to make an .bat of a .pl file thanks to pl2bat to execute it from
> both Windows NT and Win 9x.
> But when i double clicked it on NT it works but on Win9x it fails and i have the
> following:
> Command or filename incorrect
> In the header and the finish of my file i have:
>
> @rem = '--*-Perl-*--
> @echo off
> if "%OS%" == "Windows_NT" goto WinNT
> c:\\OXE\\Active_perl\\bin\\perl -x -S "%0" %1 %2 %3 %4 %5 %6 %7 %8 %9
> goto endofperl
> :WinNT
> c:\\OXE\\Active_perl\\bin\\perl -x -S "%0" %*
And do you have Perl installed in the same path on both
computers? The pl2bat only adds a wrapper around the script that
allows you to use the script as a login script or drop files on the
icon or whatever, but you still need Perl installed!
Jenda
=== [EMAIL PROTECTED] == http://Jenda.Krynicky.cz ==
There is a reason for living. There must be. I've seen it somewhere.
It's just that in the mess on my table ... and in my brain.
I can't find it.
--- me
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]