Pathologically Eclectic Rubbish Lister | |
PerlMonks |
'system' call on a different driveby blacksmith (Hermit) |
on Dec 12, 2002 at 05:08 UTC ( [id://219254]=perlquestion: print w/replies, xml ) | Need Help?? |
blacksmith has asked for the wisdom of the Perl Monks concerning the following question:
I know I should be able to figure this one out, but my mind is just stuck. I am running a script on a Win2000 system which has a primary hard drive (c:, naturally) and a secondary hard drive (d:). The script runs from the D:/ command line. It has two "system ()" calls which request commands to be run on the c:/. I am receiving an error "'c:\program' is not recognized as an internal or external command, operable program or batch file.'". I would assume that the reason is that I am unable to go from one drive to the other. Here is part of my code (one of the system calls).
Any ideas. Is there a module to help me with this task or am I just coding incorrectly? Thanks. blacksmith.
Back to
Seekers of Perl Wisdom
|
|