0

I have a folder called "io" in my computer hard disk drive D: .

Screenshot of io

Since its an unnecessary folder I try to right click and delete then I'm getting following message and cannot delete it.

the filename you specified is invalid or too long. specify a different filename

Screenshot of error

then I try to delete using windows command line and using following code

del /S D:\io\*

then getting following error

Screenshot of error

According to this question I followed top answers of that but none of the thing worked for me

  1. Downloaded and installed 7-zip and same error getting

  2. used following command too

    rmdir /S /Q <dir>

here the result then

Screenshot of error

Kelum
  • 111

2 Answers2

3

The problem is that you folder is placed under many nested folders and you just crossed the 260 character limit.

Try moving the folder(you want to delete) one directory up. What I mean to say is use Ctrl-X on folder for cut command, then press backspace to go one level up and paste it here using Ctrl-V. Do it until you are not able to delete it.

Let me know if this helps..

jsk5755
  • 71
  • 5
1

Yes I able to find the solution myself

using Ubuntu or any other Linux Bootable CD we can boot our computer to Ubuntu or any other OS for temporary.

then we can select the folder and we can delete it easily.

Kelum
  • 111