G
Grumpy Aero Guy
Here's a shot in the dark for ya:
Given a perl script exists on an XP machine which has perl
installed.....AND, given that I would like to run this script (test.pl) in a
command shell window,
1) The script runs ONLY if you have set default to the directory containing
the (perl) script.
Example: perl script exists in C:\test
I type (in command shell):
c:\ set def test
c:\test> test.pl
It tries to run, the file is "seen"
Assuming c:\test is in the path..... running test.pl from, say, d:>, XP
can't find the file.
i.e., I have tried to copy the script to a folder existing in the path, then
try to run the script when default is set to elsewhere, and it won't run.
2) This perl script takes variables when it is to be executed. In no
circumstance can I get this script to extract variables from the command
line I type when I try to run it.....
Any wisdom out there??
(My employer is getting out of the UNIX world and migrating to
intel/IBM/Windows environment... thus the interest in saving some legacy
functionality when migrating from Unix.)
Thank you in advance.
Given a perl script exists on an XP machine which has perl
installed.....AND, given that I would like to run this script (test.pl) in a
command shell window,
1) The script runs ONLY if you have set default to the directory containing
the (perl) script.
Example: perl script exists in C:\test
I type (in command shell):
c:\ set def test
c:\test> test.pl
It tries to run, the file is "seen"
Assuming c:\test is in the path..... running test.pl from, say, d:>, XP
can't find the file.
i.e., I have tried to copy the script to a folder existing in the path, then
try to run the script when default is set to elsewhere, and it won't run.
2) This perl script takes variables when it is to be executed. In no
circumstance can I get this script to extract variables from the command
line I type when I try to run it.....
Any wisdom out there??
(My employer is getting out of the UNIX world and migrating to
intel/IBM/Windows environment... thus the interest in saving some legacy
functionality when migrating from Unix.)
Thank you in advance.