In my zeal for making things simple I may have created a problem. OK, here is the lowdown:
the real file names I am trying to delete from the directory are rather lengthy and complicated and look like: partial_qn_ri_pub_default_asp__Online_qdisp_bn_03042997-0-0 partial_qn_ri_pub_default_asp__Online_qdisp_bn_03042995-0-0 partial_qn_ri_pub_default_asp__Online_qdisp_bn_03042882-0-0 . . . I cut the names down in my previous posts to 'item997' for ease and simplicity, this was a mistake on my part as I am a true "beginner." It appears that unlink does not like something in the real file name and is having trouble deleting such a long file name. If I drop to command prompt and type "del *997*.* the file "partial_qn_ri_pub_default_asp__Online_qdisp_bn_03042997-0-0" is deleted. So I tried to use the unlink and it did not work. However, I then renamed the lengthy file name to "5item997.txt" and used the unlink to "*997*.*" AND IT WORKED!!! This means that there is something with the original filename (the really long one) that the unlink command does not like...perhaps the length, or the underscores, or the - (dashes), etc. Sorry for the problem. All of the previous responses worked and everyone was helpful. My description was lacking...a mistake I will not make again. Is there some magical command that unlink needs to delete such a long file name? Are there characters in the filename that is giving unlink a problem? Man, I am so close I can taste it. Again, thank you for all of your help. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]