At 01:01 PM 2/25/04 -0500, you wrote:
HI all.

Can anybody tell me how to execute a command "remotely" in a Perl script from a different directory.
Please keep in mind I am asking what I want, not what you think I meant to say.


I need to:

('cd /d e:\ned\nedsdir`);
(`runprogram.exe -option - option -option`);

The program needs to be run from its current location, but the path needs to be at the new directory?

With the above code the directory is changed and the program run, however, the programs path is not set to the newly changed directory.


Thankx


Ned Cunningham
POS Systems Development
Monro Muffler Brake
200 Holleder Parkway
Rochester, NY 14615
(585) 647-6400 ext. 310
[EMAIL PROTECTED]

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>

you might try having perl run a bat[ch] file...


Tim


-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to