• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 327
  • 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
Donald StewartNetwork 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
 
Donald StewartNetwork 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

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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