deanholdcroft
asked on
win32: Curious about the A: drive
Whenever I do
system(some_cmd);
or
`some_cmd`;
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?
system(some_cmd);
or
`some_cmd`;
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?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
....
chdir($ENV{TEMP});
shell;
It is something you may wish to try.