Try to rename the file, to have all legal charactors instead of that line. If the line is actually a number of underscores you might be able to do it. then delete it.
Try this... it usually works with files having naming convention erros and other such problems:
Either isolate the file in its own folder (by moving all of the other files to a different folder), or else write-protect all of the other files in the folder. This can be done by doing a "select all", then Ctrl-clicking on the bad file to deselect it, and then right-clicking on one of the selected (highlighted) files. Choose Properties and then set the Read-only attribute. Note that this must show as a dark "X" on a clean background -- a greyed background indicates that some but not all of the files currently have this attribute set. it may take more than one click to set it for all (selected) files.
If using the write-protect method above, verify that this protection is set by checking various files in the folder for the read-only flag.
If using the file isolation method descibed at the beginning of step #1 above, simply delete the folder containing the bad file.
If using the write-protect method, do a "select all" followed by a "delete" -- this will remove all non-read-only files regardless of their names.
In some instances, it may be necessary to do the deletions at a command prompt. Follow the instructions for isolation or protection as in step #1 above first. Then bring up a command prompt and navigate to the folder containing the bad file. Once there, execute a del *.* within that folder.
Once the file is gone, undo the isolation/protection established before to be able to work with any remaining files.
#8. "RE: ____.ptf wont go away" In response to t_bare (Reply # 5) Fri Aug-02-02 05:48 AM
The problem is caused by the file having an illegal name under DOS rules.If Chris' suggestion does not work, try moving all other files from that folder to a safe place, and run a deltree from pure DOS for that folder. Afterwords, recreate the folder and move the other files back to it.