Can not rename any folders/files, error: Can't find the specified file.


Recommended Posts

Win 11, in Explorer I go to my downloads folder, try to rename a folder and I get this error message:error.thumb.png.485172e9bdeef8570d0cf7e45d593ed5.png

If I go via command prompt it also says it can not locate the file. This happens on everything. I have run chkdsk /f and the DISM and SFC commands, however, this issue remains. It just started doing this last night, does anybody have a clue what could be causing this?

  On 01/06/2024 at 14:49, TheGhostPhantom said:

The file is gone, if you were to perform a chkdsk I suspect orphan files would be discovered or already discovered when you ran it. This likely is a side effect of a drive that is failing or starting to fail

Expand  

I just made that folder, how could it be gone? The drive is an m.2,  it is also happening on the mechanical drive, so I do not think it is hardware failure and here is what CrystalDisk shows:

CrystalDiskInfo_20240601091023.thumb.png.8769cbfafd59d39902b8a4c8370a51de.png

Edited by jnelsoninjax
  On 01/06/2024 at 15:19, adrynalyne said:

If maxpath is exceeded, this will happen. While NTFS supports greater than 256 characters in path, File Explorer does not. 
 

Try renaming with PowerShell. 

Expand  

How do I do that? If a file name has spaces in it PS and command prompt do not understand it.

  On 01/06/2024 at 15:50, jnelsoninjax said:

How do I do that? If a file name has spaces in it PS and command prompt do not understand it.

Expand  

Quotes around the path. 

it does sound like you hit the max characters, is it a folder within many other folders or something? or a really long folder name and then nested in there? you can rename the parent folder to something shorter, or use powershell, or at worst move the folder you want to name to a new location (say on the desktop), rename it then  move it. But i would first fix your folder structure that is causing the max limit

  On 01/06/2024 at 16:52, Circaflex said:

it does sound like you hit the max characters, is it a folder within many other folders or something? or a really long folder name and then nested in there? you can rename the parent folder to something shorter, or use powershell, or at worst move the folder you want to name to a new location (say on the desktop), rename it then  move it. But i would first fix your folder structure that is causing the max limit

Expand  

It is a folder inside of Downloads called Complete, but it does it regardless of where I am, I can be in the root of C and it still doesn't work

  On 01/06/2024 at 19:11, jnelsoninjax said:

It is a folder inside of Downloads called Complete, but it does it regardless of where I am, I can be in the root of C and it still doesn't work

Expand  

"Complete"? is this something with torrents?

 

And inside that folder there is a file with super long file name? if that is the case you hit max character length.

  On 01/06/2024 at 19:40, nekrosoft13 said:

"Complete"? is this something with torrents?

 

And inside that folder there is a file with super long file name? if that is the case you hit max character length.

Expand  

Nothing to do with torrents. It also happens inside the downloads folder, and also in the root of the drive and the root of drive D

  On 02/06/2024 at 07:20, micko68 said:

@jnelsoninjax Found this in a Microsoft Community forum post, not sure if this will help or be completely useless. Don't have anything else to try sorry.

https://answers.microsoft.com/en-us/windows/forum/all/create-or-rename-folder-issues-cant-find-the/2a909b3f-4f54-4e0c-b957-795a7692f7ff

Expand  

Interesting but I do not have a Win10 machine to try.

Hello,

Try closing your web browser(s) and any other programs that may be downloading to that directory.  Are you then able to go into the directory in question and see whatever its contents are (presumably subdirectories and other files)?  If so, try creating a new directory named something like C:\TEMP and moving the directory from the ..\Downloads\ directory to this new location. 

Now try going into the C:\TEMP directory and deleting whatever is inside of it.

Regards,

Aryeh Goretsky
 

probably not the most popular answer, but to me this would be a wipe and reload situation. Seems like corruption somewhere, possibly in the formatting table itself on the drive.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Same, we had Macs. I had no trouble transitioning though.
    • Visual Studio Professional 2022 + The Premium Learn to Code Bundle drops to lowest price by Steven Parker Today's highlighted deal comes via our Online Courses section of the Neowin Deals store, where you can save $1,960 on this Microsoft Visual Studio Professional 2022 + The 2024 Premium Learn to Code Certification Bundle. This deal consists of the following items: Microsoft Visual Studio Professional 2022 Learn to Code with Python 3 CHATGPT Series: OPENAI Fundamentals 2024 MySQL & SQL for Beginners The Complete Python Course: Learn Python by Doing in 2024 Google Assistant Automation IoT Development Computer Vision & Deep Learning with OpenCV and Python: Build 15 Projects JavaScript Complete Guide with Practical JavaScript Projects Web Development with Vuex (2024) Flutter & Dart: Complete Flutter Dart Programming Course Java Programming for Complete Beginners Salesforce Platform App Builder Certification Training ChatGPT for Salesforce Development 2024 Complete Ruby on Rails 6 Bootcamp Game Development and Coding for Kids 14 coding courses and nearly 244 hours of content.Here's deal: This Microsoft Visual Studio Professional 2022 + The 2024 Premium Learn to Code Certification Bundle normally costs $1,999, but you can pick it up for just $55.97 for a limited time, that's a saving of $1,943 (97%) off. For a full description, specs, and instructor info, click the link below. Use MSO8 when checking out for additional $8 off. Coupon Expires June 29. Get this bundle deal for just $41.97, or learn more Although priced in U.S. dollars, this deal is available for digital purchase worldwide. We post these because we earn commission on each sale so as not to rely solely on advertising, which many of our readers block. It all helps toward paying staff reporters, servers and hosting costs. Other ways to support Neowin Whitelist Neowin by not blocking our ads Create a free member account to see fewer ads Make a donation to support our day to day running costs Subscribe to Neowin - for $14 a year, or $28 a year for an ad-free experience Disclosure: Neowin benefits from revenue of each sale made through our branded deals site powered by StackCommerce.
    • I still use "Everything Search" for all my device searches including OneDrive. It just got another update. Extremely fast because when you open it for the first time after a Windows Boot it caches everything. Takes a few seconds, but from the 2nd open on it finds all searches in real time as you type what you are searching for in the search area.
  • Recent Achievements

    • One Month Later
      Eternal Tech earned a badge
      One Month Later
    • One Year In
      Eternal Tech earned a badge
      One Year In
    • One Month Later
      HarryTaylor earned a badge
      One Month Later
    • Week One Done
      HarryTaylor earned a badge
      Week One Done
    • Week One Done
      habso earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      658
    2. 2
      ATLien_0
      246
    3. 3
      Michael Scrip
      233
    4. 4
      Steven P.
      148
    5. 5
      +FloatingFatMan
      145
  • Tell a friend

    Love Neowin? Tell a friend!