can't delete long filename

M

Mike Busch

I moved some files over to my laptop off the file server
to be archived and removed. So the transfer went fine,
the archive(to DVD-R) went fine, but I can't seem to
delete this folder off my laptop. Everytime i attempt to
delete I get the following message:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error Deleting File or Folder
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Cannot delete MESSAG~1.CLA: Cannot find the specified file.

Make sure you specified the correct path and filename.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

So If I traverse the tree I cna narrow the problem to a
file(its located in several directories). But the
following file is undeletable:

************************
MessageBrokerRetrievingCSRSimulatorServlet$SendCSRThread.cl
ass
************************

Seems like a programmers file. But i was able to move it
from and delete it off the file server. I was also able
to burn it onto DVD. So why am I unable to delete it off
my own laptop?

Thanks for your help guys.
Mike Busch
 
M

Mike Busch

Just FYI,

There are other undeletable files in this directory that
aren't quite the same. Such as:

MessageBrokerServlet.class
Adding_new_billing_accounts_(multiple_billing_accounts).htm
abstractCCBHandler.class

and about a 100 more files like this. Some of the .class
files do not have exessively long file names. So itseems
like either very long file names or a .class extention and
Win2K won't delete it.

Any ideas?

Mike
 
P

Pegasus \(MVP\)

Start a Command Prompt, navigate to the folder where
the file resides, then delete it with a wildcard:

del MessageBrokerRe*.*
 
M

Mike Busch

I tried something similar. Went the the root of the
directory that I wanted to del. Typed:

del /s *.*

It then went through a series of directories till it got
the the one where the first "bad" file is kept. After
answering 'y' to whether or not I'm sure I want to delete
tese files i get the message:

File Not Found

If I trace the directory, and it's a very long path to get
there, and try to just delete the specific file, I get the
same message.

Mike
 
P

Pegasus \(MVP\)

Check the post "Can't modify file after renaming it", posted in this
NG than 30 minutes after yours.
 
M

Mike Busch

Even though the subst x: command didn't work (couldn't
deal with the space between "documents" and "and") but I
shared the folder to the network and then mapped the drive
through tools->map network drive. Now I'm able to delete.

Thanks very much for your help.

Mike
 
P

Pegasus \(MVP\)

If you have embedded spaces then you must enclose
your file name in double quotes, like so: "c:\documents and settings".

Using the share command is just as effective as using subst.
 
G

Guest

Having same problem but with files that seem to have invaded as cookies, file type ".1". Can't rename, can't change properties (get message "access denied"), all delete techniques simply don't work. They have names that read a bit like HTML. Lavasoft AdAware does not recognize them as a problem. Symantec antivirus also probably does not even recognize them. They did not apparently come with e-mail but are in "Temporary Internet Files" folders. Any clues or help would be appreciated
 

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