Help for this page

Select Code to Download


  1. or download this
    c:\mydir
    
  2. or download this
    c:\\mydir
    
  3. or download this
    md c:\\mydir\yourdir
    pushd c:\mydir\\yourdir
    popd
    
  4. or download this
    print "Enter string: ";
    $dirname = <STDIN>;
    ...
    print "Creating . . . $dirname\n";
    
    mkdir($dirname, 0777) || die "Couldn't create $dirname. Error: $!\n";