Creating Directory : mkdir « File « Perl






Creating Directory

    

!#c:\perl\bin

print "Content-type: text/html\n\n";

print "Creating Directory ...";

mkdir("c:/newdir")|| die "Directory could not be created ...";

   
    
    
    
  








Related examples in the same category

1.The mkdir function creates a new, empty directory with the specified permissions (mode).
2.To create a directory, use the mkdir command:
3.Make a folder (directory)
4.Creating Directory with mkdir
5.Access permissions for the mkdir function.