http://qs1969.pair.com?node_id=231354

wahoowa has asked for the wisdom of the Perl Monks concerning the following question:

I'm trying to run an executable located on a remote Win2k server, for that server. I'm getting errors about the exe only being able to run on win2k machines. The machine I'm running the script from is a NT4 machine, but I need the exe to run on that remote server. I've mapped and tried 'chdir', etc. here's my last attempt.
system ("net use J\: \\\\$hostname\\c\$"); chdir 'j:\abc\agent\config'; my $ldconfig = 'j:\abc\agent\config\config.exe'; system ("$ldconfig");