If you're trying to run a Unix perl script on the Unix system, you could
probably create an MS-DOS batch file that logs onto the remote system,
then runs your perl script there, or runs a shell script wrapped around
the perl script.
On the other hand, if the script is runnable directly on the Windows
system -- i.e., does something with files on the Windows system, and if
you have a Unix-like shell (e.g. cygwin's bash) available to the Windows
system, and access to the Unix filesystem from Windows, you could wrap
an MS-DOS batch file around it like this:
bash -c path to Windows perl stored on Unix system or on windows
network -w path to perl script stored on Unix system [args...] 21
| less.
If you don't care about looking at the text output, you could probably
even skip the bash and just put path to perl -w path to perl
script in the batch file.
In either case, your users could run the batch file from a DOS window,
or you can create a shortcut to the batch file and an icon for them to
click on.
Garyl Erickson
Craig Williams wrote:
Does anyone know - will perl2exe (or a different package to create an .exe) allow
a perl script to be launched from windows explorer EVEN
THOUGH the script is written for unix (and is sitting on a unix
netowrk drive)? . . .
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]