Problem
When i am clearing my old windows folder from the OS installed drive, I had an issue of deleting the files and folder because the path name is too long.The error message is
"Destination Path Too Long.
The file name(s) would be too long for the destination folder. You can shorten file name and try again, or try a location that has a shorter path."
Background
Windows OS will allow the file path to be max 255 characters. If any file or folder path is beyond 255 characters, you will not be able to perform any file actions like delete / move / copy / rename.Solution
- Navigate to the folder in the windows explorer
- Type the following command in the address bar and hit enter key
- subst j:
- Open a new windows explorer window
- Now you will be able to see new drive with letter J:
- You will be able to delete the files/folders with in the drive
- To delete the other files, navigate to the parent folder and delete one after one or multiple folders path at a time.
Please send your feedback or suggestions to psrdotcom@gmail.com
No comments:
Post a Comment