Sara, You're unlink() statement is correct and should work fine. What errors, if any, are you getting?
Anthony ----- Original Message ----- From: "Sara" <[EMAIL PROTECTED]> To: "beginners-cgi" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, October 29, 2003 12:44 PM Subject: unlink help. unlink <*.bak>; how I am supposed to specify directory above? for example I have to apply above unlink command to delete all backup files in the Specified directory. $dir = /home/path/to/dir is it right? unlink <$dir/*.bak>; ?? Any ideas? Thanks, Sara. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]