If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Is there softwarre to locate file paths that exceed the limit?
I do not have intrernet access where i live. I must rely on public WIFI
with my old XP laptop. I do most of my web stuff from my car. So I often just save big websites to read when i am at home. My laptop harddrive is not as big as I would like, so at home i often move all the stuff i save to a usb portable harddrive. This is fine till some website has multiple levels of folders and files. Most of those extreme levels are ads too. Anyhow, I will flag my download folder to MOVE to my Portable drive *.* Then I get to some over long saved website and mt file move fails to proceed. ANNOYING and very hard to remove those excessivrly long files. Is therr some FREE software I can get that will search my whole HDD for any file paths which are too long? |
Ads |
#2
|
|||
|
|||
Is there softwarre to locate file paths that exceed the limit?
Bartender,
Is therr some FREE software I can get that will search my whole HDD for any file paths which are too long? You first need to figure out what the maximum size of the path + filename is for your USB stick. After that a bit of VB- or JavaScript will do. Google the web for iterating a folder tree using either of the above script languages, and you most likely will find multiple examples. After that its just comparing the length of the returned full filenames (drive + path + filename) to whatever limit you want. Regards, Rudy Wieser |
#3
|
|||
|
|||
Is there softwarre to locate file paths that exceed the limit?
wrote:
I do not have intrernet access where i live. I must rely on public WIFI with my old XP laptop. I do most of my web stuff from my car. So I often just save big websites to read when i am at home. My laptop harddrive is not as big as I would like, so at home i often move all the stuff i save to a usb portable harddrive. This is fine till some website has multiple levels of folders and files. Most of those extreme levels are ads too. Anyhow, I will flag my download folder to MOVE to my Portable drive *.* Then I get to some over long saved website and mt file move fails to proceed. ANNOYING and very hard to remove those excessivrly long files. Is therr some FREE software I can get that will search my whole HDD for any file paths which are too long? https://serverfault.com/questions/23...ons-in-windows "Use the subst command like so: subst X: "C:\Folder1\Really Long Path\Such Recursion\So Deep\Wow" " copy X:\somefile.jpg Q:\ When I test here, I notice that subst X: C:\Downloads === New drive letter X: appears in file explorer Can drag and drop files from new letter X: to dest. subst /d X: === Fake drive disappears from file explorer. When the path to be substituted has spaces in the name, it needs quotes. That's why they did their example like this. subst X: "C:\Folder1\Really Long Path\Such Recursion\So Deep\Wow" The idea is, if a path has sufficient directory components, subst will allow "shortening them". By using "subst" like that, it has chopped 54 characters off the length, so my fake " X: " can access lower down without tripping a limit. If on the other hand, the file name itself is 255 characters, there might not be much leverage available by using the "subst" trick. In some cases, a user needs an "MP3 filename changer", because the files involved have exceeded the length, just at the file name level. While the above page refers to "other hypothetical tricks", in practice they don't work. Not on WinXP at least. And on Windows 10, only a certain minimum level of Windows 10, plus setting some registry, plus... God knows what else. We're talking bar bet material here, not a practical solution. I don't know how many times I've read that canonical web page on file naming, see the 65K character limit, only to find that it doesn't work or is not available, or I didn't pat my head and rub my stomach properly. It's either "subst" or it is "change the file name with a file name changer designed to solve the problem". File Explorer has a bug, to make this difficult, whereas third party programs with access to the file system directly, won't be tripped up quite as easily. I can rename files with Perl for example. An MP3 filename changer should make this relatively easy too. You can see the choices here, ain't pretty. Since I don't do file renaming (except with Perl, as a hack), I don't really have any tested software that is "perfect for the job". https://windowsreport.com/file-rename-software Good luck, Paul |
#5
|
|||
|
|||
Is there softwarre to locate file paths that exceed the limit?
On Fri, 28 Dec 2018 10:10:40 -0500, Paul wrote:
https://serverfault.com/questions/23...ons-in-windows "Use the subst command like so: subst X: "C:\Folder1\Really Long Path\Such Recursion\So Deep\Wow" " copy X:\somefile.jpg Q:\ When I test here, I notice that subst X: C:\Downloads === New drive letter X: appears in file explorer Can drag and drop files from new letter X: to dest. subst /d X: === Fake drive disappears from file explorer. Alternatively for SUBST, and for NTFS drives, directory junction (aka. reparse point) can be used to create a directory link to another directory. e.g. a directory junction can be created as: D:\JunctionDir Where it points to e.g. D:\pretty\deep\directory\which\contains\files So, browsing `D:\JunctionDir` is actually browsing that `files` directory. But unfortunately, Windows XP only include a tool to delete a junction (via FSUTIL). It doesn't include any tool to create one. For this, there's a tool called "Link Shell Extension". http://schinagl.priv.at/nt/hardlinkshellext/linkshellextension.html Keep in mind that a junction's target directory can not reside in other drive or network drive. For this, a symlink is used instead of junction. But since Windows XP doesn't support symlink, you'll have to install a symlink driver which is also mentioned in the above web page. http://schinagl.priv.at/nt/hardlinkshellext/linkshellextension.html#symboliclinksforwindowsxp |
Thread Tools | |
Display Modes | |
|
|