Removing Directory : rmdir « File « Perl






Removing Directory

    

!#c:\perl\bin

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

print "Removing Directory ...";

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

   
    
    
    
  








Related examples in the same category

1.Create dir with mkdir and remove dir with rmdir
2.Deleting Multiple Directories