Source File Name Too Long
-
arv1956
- Posts: 2
- Joined: 08 Jul 2015 15:51
Source File Name Too Long
I've downloaded and tried version 15.40.0100 to assist me to remove a folder and directory structure with an enormous name created by Robocopy but unfortunately XYPlorer also fails to delete it.
-
highend
- Posts: 14953
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: Source File Name Too Long
Configuration > Controls and More > Miscellaneous > Support overlong filenames
Is that checked?
Message of XY when you try to delete that folder?
Is that checked?
Message of XY when you try to delete that folder?
One of my scripts helped you out? Please donate via Paypal
-
arv1956
- Posts: 2
- Joined: 08 Jul 2015 15:51
Re: Source File Name Too Long
Thanks for your response 'highend'
Yes the 'Support overlong filenames' box is checked and the message back when I try to delete the folder is:
"The source file name(s) are larger than is supported by the file system. Try moving to a location which has a shorter path name or try renaming to shorter name(s) before attempting this operation."
Thanks again
Alan
Yes the 'Support overlong filenames' box is checked and the message back when I try to delete the folder is:
"The source file name(s) are larger than is supported by the file system. Try moving to a location which has a shorter path name or try renaming to shorter name(s) before attempting this operation."
Thanks again
Alan
-
highend
- Posts: 14953
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: Source File Name Too Long
Mh, the message that I get is a different one (but it's not an error message) and deleting overlong paths / files isn't a problem on my system...
One way how you can (probably) solve it:
- Navigate to the file / folder you can't delete in XY
- Enter this in the address bar and hit enter afterwards:
- Copy everything from the textbox including the quotes to the clipboard
- Open a command prompt
Use: subst <a free drive letter on your system:>
and paste the clipboard content behind it (one space between the double colon and your first quotation mark)
E.g.: subst F: "C:\Programs\<many other subfolders or whatever your structure looks like>"
- Hit enter
- Navigate to the new drive letter inside XY
- Navigate to the folder / file you want to delete and do it
- When you're done, goto back to the command prompt and delete the subst via:
subst <the drive letter you've used a few moments ago:> /D
E.g.: subst F: /D
The whole thing could be scripted if you're using the pro version and [x] Remember permanent variables is checked
One way how you can (probably) solve it:
- Navigate to the file / folder you can't delete in XY
- Enter this in the address bar and hit enter afterwards:
Code: Select all
text quote(regexmatches(substr("<curpath>", 0, 250), "^.*(?=\\)"));- Open a command prompt
Use: subst <a free drive letter on your system:>
and paste the clipboard content behind it (one space between the double colon and your first quotation mark)
E.g.: subst F: "C:\Programs\<many other subfolders or whatever your structure looks like>"
- Hit enter
- Navigate to the new drive letter inside XY
- Navigate to the folder / file you want to delete and do it
- When you're done, goto back to the command prompt and delete the subst via:
subst <the drive letter you've used a few moments ago:> /D
E.g.: subst F: /D
The whole thing could be scripted if you're using the pro version and [x] Remember permanent variables is checked
One of my scripts helped you out? Please donate via Paypal
XYplorer Beta Club