• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 345
  • Last Modified:

Deleting files that don't have an option to delete

I work for a command which is doing a file cleanup.  Most of the files on the problem server have been copied over from other servers.  The problem is that I need to move the whole file structure to a new file server, and many of the files will not copy, move or delete.  When I right click on the files, the only options in the drop down menu are Open, Print, Edit and Open With (see attached print screen).  If I try to open the file, it gives me Access is Denied.  I have tried highlighting a file and deleting it by pressing the delete key, and I've tried clicking File > delete. I have reset the permissions, giving myself Full Control for all files, and making myself owner of the whole folder structure.  I still cannot do anything with these files.  Any help would be appreciated.
Delete-issue.doc
0
laugle
Asked:
laugle
  • 4
  • 2
  • 2
  • +2
1 Solution
 
louislietaerCommented:
I think it is a rigths issues. have you check inherited permissions. (directory tree)
0
 
Shift-3Commented:
This article lists some potential causes.  It sounds like you've ruled out a few of them.

Have you run CHKDSK /F on the drive?  The problem may be due to filesystem corruption.
0
 
laugleAuthor Commented:
Thanks for your responses.  I have already taken off inherited permissions -- current permissions on the folder structure are Local Administrators group, Domain Admins, Creator Owner and System have full control, and Domain Users have modify permissions.  In addition, I took ownership of the file structure.  I have not run CHKDSK /F on the drive yet.  The server is a file server, and I can't take it offline to do the check until this weekend.  The thing that really bugs me is that I can't even check properties for the files because that isn't one of my choices.  Unless anyone else has any ideas, I'll have to table this until I can check the file system.
0
Introducing Cloud Class® training courses

Tech changes fast. You can learn faster. That’s why we’re bringing professional training courses to Experts Exchange. With a subscription, you can access all the Cloud Class® courses to expand your education, prep for certifications, and get top-notch instructions.

 
DonNetwork AdministratorCommented:
0
 
laugleAuthor Commented:
Thanks for your reply.  I loaded Richcopy and gave it a try.  Everything came back "system cannot find the specified file", and then the program threw an error and shut down.  It's looking more and more like File System Issues -- unless anyone else has a different idea?
0
 
DonNetwork AdministratorCommented:
If you just want to delete you can use Unlocker
 
http://ccollomb.free.fr/unlocker/ 
0
 
laugleAuthor Commented:
Again, thanks for the suggestion.  I loaded Unlocker, and tried to unlock the file structure -- it said nothing was locked.  When it asked me what I was trying to do, I said move the folder.  Then it told me that the object couldn't be moved.
0
 
theras2000Commented:
Hmmm I wonder if this filename is particularly long.  The path sure looks long.  You could try changing the folder/subfolder to something really short, just to see if it makes the file usable.
I did it on my PC as a test, and it just did nothing when I tried to open/detee etc, but didn't give any errors.  Still, no harm in you trying.Also, you could try Robocopy.  It's like xcopy on steroids.  Just as a basic test, you could run the command below.
Robocopy is now part of the MS Resource Kit tools, but you could just download it separately from here http://www.devhood.com/tools/tool_details.aspx?tool_id=321
Note.  I often use Robocopy for big batches of file transfers, because you can setup scripts with all the switches you want and have it log the success of every file.  Very useful for a regular backup script, which you want to run multiple times.  Just takes a little to learn the switches though.  The zip in that link has a word .doc which is the manual.
robocopy "c:\path\folder" c:\newfolder /COPY:DAT

Open in new window

0
 
laugleAuthor Commented:
theras2000, you hit the nail on the head!  The file path was too long.  I renamed some of the folders, and then tried to move the file -- no problems!  Thank you so much!
0
 
theras2000Commented:
Dang I was going to say that a few hrs ago but my own tests had different results to yours so I abondoned it.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

  • 4
  • 2
  • 2
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now