Can't delete file from server

J

James

I have a file on my W2k server - When we try to delete the
file we get the following error:

Error deleting file
Can't delete "filename" : The directory name is invalid

We can rename it, but still can't delete it. We have
tried to take ownership, delete from dos, run chkdsk /r,
but file still remains. Has anyone seen this or know how
to delete the file?

Thanks
 
R

Ricardo M. Urbano - W2K/NT4 MVP

James said:
I have a file on my W2k server - When we try to delete the
file we get the following error:

Error deleting file
Can't delete "filename" : The directory name is invalid

We can rename it, but still can't delete it. We have
tried to take ownership, delete from dos, run chkdsk /r,
but file still remains. Has anyone seen this or know how
to delete the file?

Thanks

Try deleting from the command prompt, but prepend the fully qualified
path w/ '\\.\' or '\\?\' (w/o the quotes).

For example:

del '\\.\c:\folder\subfolder1\another subfolder\fubar filename.file
extenstion'

hth
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top