I get a parse error every time and I've modified the scripts a bunch of times already. // Make new directory function $default_dir = ("D:\www\Proj\$textfield2\"); if(file_exists($default_dir)) rmdir($default_dir); mkdir($default_dir, 0777); // Copy template.html to new directory $filename = D:Automator\auto_2\Template.html; copy($filename, ($default_dir) .overview.html); Can I not have these two scripts run together? The mkdir function alone works. Can someone tell me what I'm doing wrong? Thank you. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]