Creating Directory with mkdir : mkdir « File « Perl






Creating Directory with mkdir

    

!#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.Creating Directory
4.Make a folder (directory)
5.Access permissions for the mkdir function.