Whenever I do
where some_cmd is a dos cmd located remotely on a network; my computer always accesses the a: drive.
This seriously slows down the perl scripts I am trying to run.
I suspect it is something to do with my Windoze platform - I'm running Win98.
I've tried different ports of perl, and checked my system paths for inclusion of a:\.
I've also noticed this behaviour on other windoze machines, so it's not just my computer.
The only way I've managed to get round the a:\ drive access is to get perl to dynamically generate a local batch file (which invokes the some_cmd) and then use system() to run the batch file - still very slow, though.
Any ideas of how to stop my computers curiosity for the contents of my a: drive?