Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Win7 cannot MKDIR or write

by dave_the_m (Monsignor)
on Mar 05, 2019 at 13:37 UTC ( #1230906=note: print w/replies, xml ) Need Help??


in reply to Win7 cannot MKDIR or write

I can't comment on any Windows-specific stuff, but I observe that in neither your file-open-for-writing code, nor in the directory-making code, do you check for errors. Any error messages might give a better clue what the issue is.
open my $fh, '>', 'path to windows folder' or die "Can't open 'path to windows folder': $!\n"; ... mkdir $dirPath,0777 or die "Can't make directory '$dirPath': $!\n";

Dave.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1230906]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (4)
As of 2019-05-26 07:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you enjoy 3D movies?



    Results (153 votes). Check out past polls.

    Notices?
    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!