Jump to content



Photo

Can't Delete A File - It Says it's "no longer located there"

Answered Go to the full post win8

  • This topic is locked This topic is locked
47 replies to this topic

#1 UncleSpellbinder

UncleSpellbinder

    My Spine Is The Bassline

  • Joined: 24-May 06
  • Location: Senoia, GA - USA
  • OS: Windows 8 / Fuduntu / SolusOS

Posted 15 December 2012 - 21:20

I tried to delete a folder. All but one .mp3 file within the folder were deleted. I can't seem to get rid of it. I get the following dialogue...

Posted Image


How can it "no longer be located there" when I clearly see it???


Ideas on how to get rid of it appreciated.

Best Answer Newinko , 16 December 2012 - 01:34

If I am not mistaken, the problem does not lie in the path length (it's well within the Win32 255-character limit), but in the colon ( : ) in the file name. The colon is a forbidden character within a file path under Windows; try putting a colon when renaming a file and you'll see Windows won't even let you type it.

Since files with forbidden names are considered corrupt, running chkdsk (using a command line, run chkdsk F: /f /v) is your best bet to solve the problem. It'll rename or delete the file, depending on the situation.

There are other solutions here if you want to rename a file with a forbidden name without risking chkdsk deleting it:
http://superuser.com...ecial-character

EDIT: saw other posts suggested running chkdsk as well but without explaining why it'll work. It will. Try it. Go to the full post



#2 LUTZIFER

LUTZIFER

    Resident Evil

  • Joined: 09-January 02
  • Location: Vancouver Island, BC CANADA

Posted 15 December 2012 - 21:30

Unlocker should do the trick...
http://www.emptyloop.com/unlocker/

#3 trek

trek

    Neowinian Senior

  • Joined: 11-August 02
  • Location: Vancouver, Canada

Posted 15 December 2012 - 21:31

Tried deleting from command line?

#4 Detection

Detection

    Detecting stuff...

  • Joined: 30-October 10
  • Location: UK
  • OS: 7 SP1 x64

Posted 15 December 2012 - 21:32

Hit F5

#5 Marshall

Marshall

    ▇ ▂ ▃ ▁ ▁ ▅

  • Tech Issues Solved: 7
  • Joined: 22-June 03
  • Location: USA

Posted 15 December 2012 - 21:32

Take Ownership of the file and you should be able to delete it. See here...

http://www.intowindo...s-in-windows-8/

#6 COKid

COKid

    Neowinian Senior

  • Joined: 07-April 10
  • Location: Loveland, CO

Posted 15 December 2012 - 21:36

Try rebooting. Always works for me. When I delete shortcuts on the Start Screen in Windows 8, for instance.

#7 OP UncleSpellbinder

UncleSpellbinder

    My Spine Is The Bassline

  • Joined: 24-May 06
  • Location: Senoia, GA - USA
  • OS: Windows 8 / Fuduntu / SolusOS

Posted 15 December 2012 - 21:38

No clue how to delete via commandline. Unlocker did not work. Neither did Take Ownership.

Posted Image

#8 Detection

Detection

    Detecting stuff...

  • Joined: 30-October 10
  • Location: UK
  • OS: 7 SP1 x64

Posted 15 December 2012 - 21:40

No clue how to delete via commandline. Unlocker did not work. Neither did Take Ownership.

Posted Image


Did you reboot / hit F5 when the file is selected ?

#9 trek

trek

    Neowinian Senior

  • Joined: 11-August 02
  • Location: Vancouver, Canada

Posted 15 December 2012 - 21:41

F:
cd "\Music\Rock - Metal - Pop & Related\S\Sword, The\(2012) - Apocryphon [Deluxe Edition]"
del "13) The Chronomancer II: Nemesis (Live at Stubb's BBQ - Austin, TX).mp3"

#10 OP UncleSpellbinder

UncleSpellbinder

    My Spine Is The Bassline

  • Joined: 24-May 06
  • Location: Senoia, GA - USA
  • OS: Windows 8 / Fuduntu / SolusOS

Posted 15 December 2012 - 21:41

I rebooted before I started this thread. Hitting F5 when the file is selected has zero effect. Nothing happens.

#11 COKid

COKid

    Neowinian Senior

  • Joined: 07-April 10
  • Location: Loveland, CO

Posted 15 December 2012 - 21:44

I rebooted before I started this thread. Hitting F5 when the file is selected has zero effect. Nothing happens.


That's a strange one.

So I noticed the file was located in the "F" drive. That drive is still connected, right? Of wait, you say you can still see it. Very curious issue.

#12 Detection

Detection

    Detecting stuff...

  • Joined: 30-October 10
  • Location: UK
  • OS: 7 SP1 x64

Posted 15 December 2012 - 21:44

I rebooted before I started this thread. Hitting F5 when the file is selected has zero effect. Nothing happens.


Try safemode (You have to reboot via Metro UI > Settings > General > Advanced boot (Something like that)

If you still can't delete it from safemode, boot from a Linux disk and delete it from a live cd/dvd boot


EDIT - this is one of the weirdness bugs I reinstalled 7 for

#13 OP UncleSpellbinder

UncleSpellbinder

    My Spine Is The Bassline

  • Joined: 24-May 06
  • Location: Senoia, GA - USA
  • OS: Windows 8 / Fuduntu / SolusOS

Posted 15 December 2012 - 21:46

Posted Image

#14 trek

trek

    Neowinian Senior

  • Joined: 11-August 02
  • Location: Vancouver, Canada

Posted 15 December 2012 - 21:47

Can you try pressing tab after typing "13 in the last line and see if windows automatically fills in the rest? I may have had a typo.

#15 pixelpixel

pixelpixel

    Neowinian

  • Joined: 27-December 01

Posted 15 December 2012 - 21:48

What about renaming the file and then deleting it.