?
Solved

Cannot delete file

Posted on 2005-03-02
9
Medium Priority
?
129 Views
Last Modified: 2010-04-14
Hello there, I have a major issue trying to delete a folder (let's call it Folder X) and cannot find the solution.  Folder X is on my domain controller and is saved in a path that includes long folder names (more than 8 characters and includes spaces) .  When I try to delete Folder X, nothing happens - it just hangs.  I cannot see the proerties for Folder X when I right-click on it from My Computer.  When I try deleting the folder that Folder X is housed in, I get a error message that says "Cannot delete Folder X: Cannot find the specified file.  Make sure you specifiy the correct path and filename"

I am logged on to the DC as the Administrator and I do not have the right to view the properties for Folder X nor can I delete it because the OS says that it cannot find the file.  Any suggestions on how to go about deleting Folder X?

Thanks a bunch!

Steve
0
Comment
Question by:caribguy76
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
  • 2
9 Comments
 
LVL 96

Expert Comment

by:Lee W, MVP
ID: 13440384
Run CHKDSK on the drive where the folder is... could be there's something corrupt.
0
 

Author Comment

by:caribguy76
ID: 13440492
Running chkdsk would require me having to reboot in order to run, correct?  Or can I run from the command prompt?  This is on the domain controller and I cannot bring it down during the day to check for the pesky folder.  I'm new to the job and in the process of learning.

Thanks
Steve
0
 
LVL 96

Expert Comment

by:Lee W, MVP
ID: 13440684
Probably.  At the least it would force users to disconnect from that logical drive.  You can try to run it - if you need to reboot, it will tell you that it's set to run at the next boot and SHOULD NOT autormatically reboot.
0
Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

 

Author Comment

by:caribguy76
ID: 13440876
Ok. I will try doing this later on today as it is not a good time to disconnect my users from the drive.  I'll let you know how it goes.

Thanks
Steve
0
 
LVL 35

Accepted Solution

by:
Nirmal Sharma earned 2000 total points
ID: 13446834
0
 

Author Comment

by:caribguy76
ID: 13448981
After extensive searching and troubleshooting, I was able to fix the problem.  Because the path to Folder X was so long, explorer.exe could not handle it (it was more than 255 characters).  To get rid of the folder, I had to map the folder that Folder X resided in to a drive (I mapped it to Drive W).  This tricked explorer.exe into believing the path was much shorter than it was.  After mapping it, I was browse to Drive W and delete Folder X.  Thanks to all for your suggestions.
0
 
LVL 35

Expert Comment

by:Nirmal Sharma
ID: 13483370
Thanks! Glad its working and you solved it.

Cheers
SystmProg
0
 

Author Comment

by:caribguy76
ID: 13485680
And now that I've solved it, you better believe that I'll never forget how to take care of it should it ever happen again.  Darn explorer.exe  :-)

Thanks
Steve
0
 
LVL 35

Expert Comment

by:Nirmal Sharma
ID: 13486311
Hehe...sometimes it happens afterall we are using computers and not books :-)
0

Featured Post

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
While opting for any web-to-print solution, you need to discuss with your team and some of your end users and know their opinions about your decisions. In this article we list down some questions you need to ask yourself.
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

718 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question