Hello Shubham Rajak,
Thanks for replying.
Please understand that our forum is a public platform, and we will modify your question to cover your personal information in the description. Please notice to hide these personal or organization information next time you post error or some information to protect personal data.
Based on the behavior, I believe that the cause is because Windows is using 2 different naming algorithms for temp folder. As you can also see, the name in the first scenario is duplicated, while in the second one, it was shortened to.d5f suffix. And you are right, it might be the name length, and your case just happen to be coincided with it. However, I don't see any documented article about this yet. In this case, can you please try to enable long path in the registry to see if it helps?
Disclaimer: Generally, modifying registry subkeys or work group is intended for advanced users, administrators, and IT Professionals. It can help fix some problems, however, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For further protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click How to back up and restore the registry in Windows - Microsoft Support to view the article.
- Type regedit in the search bar and press Enter
- Go to HKLM\SYSTEM\CurrentControlSet\Control\FileSystem
- Set LongPathEnabled to 1. (create one if it doesn't exist)
- Restart your computer.
Also, there is a test that you can do. Please try to add characters one-by-one to the original name and observe on how the path change.
I'm waiting for your reply.