rawsr71 has asked for the wisdom of the Perl Monks concerning the following question:
I have an automation script that, among other things, creates directories and tosses files in them. It works fine on 3 machines but fails to create the directories on two others and I haven't a clue why. I've done it with both the native mkdir and the system mkdir call. Neither works on the two other machines. We're all running the same OS (WinXP). I can run on my machine against their work and it's fine so it's not a fluky name issue. Doesn't matter if the mkdir is running on their own machine or a server so it's not a permissions problem. (it fails if I log onto their machine and run it) Here's a couple lines from the script that both fail (or is it something in their OS?). Oh and the variables are setting properly when printed to the screen.
#
else { system ("mkdir", "C:\\automation");
#
system ("mkdir", "$bomdir\\$bomfoldname");
Any help would be appreciated. Thank you.
#
else { system ("mkdir", "C:\\automation");
#
system ("mkdir", "$bomdir\\$bomfoldname");
Any help would be appreciated. Thank you.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Dir Create
by ikegami (Patriarch) on Aug 22, 2007 at 15:35 UTC | |
Re: Dir Create
by ww (Archbishop) on Aug 22, 2007 at 18:44 UTC | |
by rawsr71 (Novice) on Aug 23, 2007 at 21:15 UTC | |
by rawsr71 (Novice) on Aug 24, 2007 at 14:15 UTC | |
Re: Dir Create
by Taulmarill (Deacon) on Aug 22, 2007 at 15:42 UTC | |
Re: Dir Create
by kinnerc (Initiate) on Aug 22, 2007 at 15:35 UTC |
Back to
Seekers of Perl Wisdom