Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: mkdir() problem on windows

by AnomalousMonk (Archbishop)
on Nov 21, 2010 at 00:03 UTC ( [id://872725]=note: print w/replies, xml ) Need Help??


in reply to mkdir() problem on windows

I don't know what your problem may be, but FYI the following works for me under Windows 7 and Strawberry 5.10.1.0:

>perl -wMstrict -le "my $dir = 'test'; mkdir $dir or die qq{mkdir: $!}; my $bt = `copy junque $dir`; print qq{[[$bt]]} if $bt; print `dir $dir`; print `fc junque test\\*`; " [[ 1 file(s) copied. ]] Volume in drive C is Acer Volume Serial Number is 9480-355B Directory of c:\@Work\Perl\monks\oko1\test 11/20/2010 06:54 PM <DIR> . 11/20/2010 06:54 PM <DIR> .. 11/20/2010 06:49 PM 20 junque 1 File(s) 20 bytes 2 Dir(s) 257,344,540,672 bytes free Comparing files junque and TEST\junque. FC: no differences encountered

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2024-04-24 07:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found