Can't Delete/rename/move a file..

  • Thread starter Thread starter Paul MacFarlane
  • Start date Start date
P

Paul MacFarlane

I received a file (we'll call it Mydata.cp) within a ZIP file. The ZIP file
and data file were created on an XPP machine.

The CP is an Adobe Captivate file. (212mb)

If I run Captivate, I can't open the file. If I run Captivate as
Administrator, I can open the file.

If I run windows explorer as Administrator (and maybe I'm not doing this
right), I cannot rename or move the file.

If I run command prompr as Administator, I can't delete or rename either.

If I right click the file, and select properties, nothing ever shows.

I've looked at the properties of the ZIP file and "unblocked" it.

Any idea what is going on? what I've done wrong?

Thanks,
Paul
 
Is the .Zip file deletable? The .Zip should be unblocked before its files
are extracted, otherwise the extracted files will also be marked "blocked".
Which apparently Mydata.cp still is. (You can Unblock it by opening its
Properties). As far as deleting it, try this:

At an elevated command prompt, type the following command, and then press
ENTER:

takeown /f Path_And_File_Name

For example, type:
takeown /f C:\Users\Paul\Downloads\WasZipped\Mydata.cp


Type the following command, and then press ENTER to grant
administrators full access to the file:

icacls Path_And_File_Name /GRANT ADMINISTRATORS:F

For example, type:
icacls C:\Users\Paul\Downloads\WasZipped\Mydata.cp /grant administrators:F

Then try to delete Mydata.cp.
 
Thanks dean - I'll give that a try.

Sounds like you agree it's a security issue.

I had "unblocked" the zip and then extracted the file at one time.

One thing I didn't mention is that there were 3 other files in the same ZIP.
No problems with them ( htm, js, and SWF file).

Thanks for your suggestion.

Paul
 
dean..

any idea how long those command should take to execute?

I cancelled takeown after 5 minutes...

tried icacls as well - same problem.....

If I simply try "del myfile.cp" at the elevated command prompt it does the
same thing too...

Paul
 
If you look at the file's Properties, is there a Security tab? If so try
taking ownership, etc. that way. But the file's Properties might be borked
some other way as well. The commands I gave should happen in seconds. Try
running Check Disk, choosing to automatically fix file system errors (you
will have to reboot)...
 
You said you could open the file with Captivate, as Administrator. Can you
make some changes to the document, and then save your changes; that is, with
the same name, in the same folder? Or can you just erase a vast amount of
it's content? I've never used the program, so I don't know how editing a
".cp" would work... My goal is to get the file to acquire properties. It's
corrupted, so I don't know if that would work.
 
Captivate is a multi-media type file.

I was able to open one and then did a save-as. I don't remember if I
resaved the original.

The save-as file (a different resulting file size) exhibits the same
problems....
 
I've determined this has something to do with the built in Zip extraction...

I have extracted the same file using winrar and have had Zero problems with
it.
 
You may be right. I think Explorer has a problem with .zip files once they
reach a certain size, or perhaps if a file inside it reaches a certain size.
Do you still have problems deleting Mydata.cp? If so, try deleting the
folder it resides in, holding down the Shift key on your keyboard, and then
choose Delete.
 
Yes, still problems deleting - see posting in File management.

I'll give the "shift" a try. - Tried, no joy. Just gives the hard drive a
workout....

Thanks.
 
Back
Top