Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • December 06, 2016, 12:04:04 AM
  • Proudly celebrating 10 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Last post Author Topic: NANY 2013 Release Find Long Names  (Read 19840 times)

limelect

  • Member
  • Joined in 2009
  • **
  • Posts: 53
    • View Profile
    • Donate to Member
NANY 2013 Release Find Long Names
« on: December 22, 2012, 07:51:32 AM »
NANY 2013 Entry Information

Application Name Find Long File Names
Version 1.0.0.2
Short Description Will find file names above a certain size
Supported OSes All but checked with XP
Web Page www.limelect.com  
Web Page www.limelect.com/Android  
Web Page www.limelect.com/Delphi  
Download Link www.limelect.com/Delphi/Programs/FindLongNames.zip
System Requirements
  • A list of
  • non
Version History
  • 1.0.0.2
Author http://www.limelect....ex_files/AboutUs.htm


Description
While backing up files the long file name of a file
made an error. So i decided to write this program ,
to find all long files names.

Features
Find long file names with directory ,name or extension size.

Planned Features
none yet

Screenshots
Screenshots of the Application.
main.jpg
Usage
Installation
Just Open the zip file to a directory

Using the Application
Help is included
Uninstallation
Delete the files.

Tips
Enjoy

Known Issues
None Yet

« Last Edit: January 17, 2013, 02:45:19 AM by limelect, Reason: up date to ver 2 »

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 36,406
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Find Long Names
« Reply #1 on: December 22, 2012, 08:02:24 AM »
Hey this is a really neat idea!

May I offer a really really simple stupid suggestion? Show somewhere near the top of the panel the maximum allowed path size before problems occur in windows?  This might be useful to remind people when they should start getting worried.

TaoPhoenix

  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 4,550
    • View Profile
    • Donate to Member
Re: NANY 2013 Find Long Names
« Reply #2 on: December 22, 2012, 08:17:42 AM »
Hey this is a really neat idea!

May I offer a really really simple stupid suggestion? Show somewhere near the top of the panel the maximum allowed path size before problems occur in windows?  This might be useful to remind people when they should start getting worried.

Mouser,

What is in fact the Win XP length that "officially" begins to create problems moving? And how is it possible that a too-long file gets created and saved, but then you can't move or delete it? Monster.com has been giving me a bunch of those in my job searches.

IainB

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 6,137
  • Slartibartfarst
    • View Profile
    • Donate to Member
Re: NANY 2013 Find Long Names
« Reply #3 on: December 22, 2012, 08:23:09 AM »
^^ What @mouser said + 1 from me. Rather neat idea.

I was mulling over this problem (of long file names) the other day, wondering how best to approach a solution. This might be it.

TaoPhoenix

  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 4,550
    • View Profile
    • Donate to Member
Re: NANY 2013 Find Long Names
« Reply #4 on: December 22, 2012, 08:41:26 AM »
^^ What @mouser said + 1 from me. Rather neat idea.

I was mulling over this problem (of long file names) the other day, wondering how best to approach a solution. This might be it.

Yeah, because you want to make a simple archive so you drag and drop your 10 gig folder and go to have lunch, only to come back with a halted process that "file name is too long so I can't move it".   >:(

limelect

  • Member
  • Joined in 2009
  • **
  • Posts: 53
    • View Profile
    • Donate to Member
Re: NANY 2013 Release Find Long Names
« Reply #5 on: December 22, 2012, 09:13:11 AM »
I researched the file size problem and found the size varies !!! from xp to others.
It is about 255 more or less so i cannot be sure ,and no body is, on the FORMAL file size,
Even the name or extension changes from one window to the other.
As for that i have given all 3 section file dir name and extension to be variable.
A good number will be <250.

TaoPhoenix

  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 4,550
    • View Profile
    • Donate to Member
Re: NANY 2013 Release Find Long Names
« Reply #6 on: January 02, 2013, 04:27:01 PM »
I researched the file size problem and found the size varies !!! from xp to others.
It is about 255 more or less so i cannot be sure ,and no body is, on the FORMAL file size,
Even the name or extension changes from one window to the other.
As for that i have given all 3 section file dir name and extension to be variable.
A good number will be <250.

Hallo!

I just got around to downloading this now that nany is official because I've had the same types of problems. Let's just say that problems arise on XP whe (something) exceeds about 250 characters. If this includes combined path and filename, I have busted over it quite often! It's real easy for me to have (especially a web page file!) something like:

C:\Documents and Settings\user.NONE-QsgRDDpdfk465\Desktop\Humor\2012\SillyHumor\StuffIReallyShouldHaveDeleted\DonationCoder\StuffToAnnoyMembers\Renegade\Rants\Copyright\PoliceAbuse\ByState\RantOnTXPoliceAndMobileData\TexasPolice_have_decided_that_they_can_do_random_new_obnoxious_things_in_the_name_of_border_control.html

It happily saves like that from the remote news site, then Windows throws a snit fit later when you try to delete it!

So LongNames could be fun!  :Thmbsup:

IainB

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 6,137
  • Slartibartfarst
    • View Profile
    • Donate to Member
Re: NANY 2013 Release Find Long Names
« Reply #7 on: January 02, 2013, 06:06:35 PM »
...Yeah, because you want to make a simple archive so you drag and drop your 10 gig folder and go to have lunch, only to come back with a halted process that "file name is too long so I can't move it".   >:(
Well, yes. I was trying to zip a few-hundredMB folder into a ZIP file, using the system ZIP built into Win7-64 Home Premium. It refused to ZIP it because of a LFN file. At the time, I didn't have a LFN finder and I didn't want to muck about with it and spend any of my valuable time on what I regard as an OS system bug, so, out of interest, I tried to zip it with 7-Zip, and it zipped without further ado.

jity2

  • Charter Member
  • Joined in 2006
  • ***
  • default avatar
  • Posts: 98
    • View Profile
    • Donate to Member
Re: NANY 2013 Release Find Long Names
« Reply #8 on: January 11, 2013, 01:19:38 PM »
Dear all,

I also use this other freeware : Pathscanner ( http://www.parhelia-...canner/Download.aspx )
(http://www.donationc....msg192530#msg192530)

And in order to avoid long filename (260 caracters limit in win7) when saving webpages in Firefox I do the following :
http://www.donationc...opic=23782.msg215928

Then each month I zip my archives this way (I don't use 7zip on purpose as it doesn't display error if filename is longer then 260 caracters!) ) http://www.donationc...dex.php?topic=4657.0

Hope this helps ;)
See ya

« Last Edit: January 13, 2013, 09:00:10 AM by jity2 »

nekoz

  • Supporting Member
  • Joined in 2012
  • **
  • Posts: 4
    • View Profile
    • Donate to Member
Find Long Names doesn't quite find your long paths
« Reply #9 on: January 13, 2013, 07:25:31 AM »
This tool IS a nice idea, but it appears that the way it was implemented, it doesn't address the issue as directly as would be most useful.

What matters as far as Windows failing to be able to open a given file is that the >total< length of the entire path + filename (incl. extension) not exceed (255? 260? "MAX_PATH") characters.  This tool does not actually give you any way to search by that criteria.  It only allows finding files with a path WITHOUT FILENAME > certain length, or a filename WITHOUT PATH and WITHOUT EXTENSION > certain length.

In the parlance of this tool, what matters is the number that appears in the "total" column - yet there is no way to tell the tool to search for files with total > 255.  I.e. An invalid file might have "path size" 120, "name size" 100, and "extension" 50.  The total is 270, which is too long.  But the only way you would've gotten the tool to find this was by searching overbroadly, i.e. for "path length > 119"...which would of course turn up tons of results whose "total" <= 255.  Plus that search would miss something with path size 100, name size 120, extension 50.

Ultimately, there is no one search you can perform that will find all your long paths.  You have to perform a series of overbroad searches, and then in each case only look at the subset of your search results that actually have long totals.

If this tool allowed for searching by "total," or just did away with the separation between path, filename and extension, it would accomplish the goal.

Also: Feature? Bug? The results list truncates path results that exceed 259 chars.

Thanks for submitting your tool, though!

I tried out Path Scanner, but it merely crashed.

So, has anyone found a tool that just finds files with full paths > MAX_PATH?  This chronic Windows issue can be impossible to avoid; it would be great to be able to catch the offenders (and, ideally, rename or move them within the tool).

jity2

  • Charter Member
  • Joined in 2006
  • ***
  • default avatar
  • Posts: 98
    • View Profile
    • Donate to Member
Re: NANY 2013 Release Find Long Names
« Reply #10 on: January 13, 2013, 09:05:56 AM »
Hello,
I tried out Path Scanner, but it merely crashed.
http://www.parhelia-...canner/Download.aspx
It works for me (version 1.1.0.20) with win7 64bits and WinXP.
I checked and it counts the total path (spaces included).
Example: this is counted as 189 caracters (It is correct when I use the tools/statistics in word).
C:\Users\Ex2\Documonts\NEWS125\5 uo\06\tableau-tests-tcs-de-sic3a8ges-ppqurs-2004-2012.pdf (application_pdf Object)_201301e6_202509_files\tableau-tests-tcs-de-sic3a8ges-ppqurs-2004-2012.pdf

Maybe once installed try to change the property settings ( C:\Program Files (x86)\Path Scanner\pathscan.exe ) to "Run as Administrator" ?
« Last Edit: January 13, 2013, 09:15:40 AM by jity2 »

limelect

  • Member
  • Joined in 2009
  • **
  • Posts: 53
    • View Profile
    • Donate to Member
Re: NANY 2013 Release Find Long Names
« Reply #11 on: January 16, 2013, 11:39:27 AM »
nekoz hi

I only returned yesterday from skiing and i just saw your comment.

As for the program the 3 sizes are there NOT only as TOTAL but also as
requirement . which means that if ONE of the sizes is not checked (for example extension)
the program WILL NOT CHECK IT for size and will disregard it size !!!
in order to have real total one need to have ALL 3 parameters with in reason.
What are the numbers? I really , as i said before, do not have a good source of
information for it not even from Microsoft.
I hope what i intended to program came out right (no bugs?) .
So my flow chart is that all 3 sizes are required for the file to be counted
or else (as of the check boxes).

On second thought just a total will do? I do not think so !!

nekoz

  • Supporting Member
  • Joined in 2012
  • **
  • Posts: 4
    • View Profile
    • Donate to Member
Re: NANY 2013 Release Find Long Names
« Reply #12 on: January 16, 2013, 11:46:02 AM »
IF the goal is to catch filenames that are oversized and cause  uncopyable, unmoveable and unrenameable files, THEN what the user needs is just to be able to search for files whose "TOTAL" is greater than 255.

Because the tool lacks such a feature, it is not very useful as a program for finding the oversized filenames.  If the tool had that feature, it would be very useful towards that goal.  Maybe it's useful for some other goal.  But for finding only and all the oversized filenames, we need to be able to search by the combined filename+path length of each file, which in the language of your tool is the "total."

Thanks.

limelect

  • Member
  • Joined in 2009
  • **
  • Posts: 53
    • View Profile
    • Donate to Member
Re: NANY 2013 Release Find Long Names
« Reply #13 on: January 16, 2013, 12:17:07 PM »
What you say ,which i accept, is to ADD to the program a check for just the total.
I will modify accordingly.
thanks for your comment

limelect

  • Member
  • Joined in 2009
  • **
  • Posts: 53
    • View Profile
    • Donate to Member
Re: NANY 2013 Release Find Long Names
« Reply #14 on: January 17, 2013, 02:47:49 AM »
 As per advice i updated to version 2 which include FIX file length
as opposed to variable file length

MrJohnGaltshrugs

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 3
    • View Profile
    • Donate to Member
Re: NANY 2013 Release Find Long Names
« Reply #15 on: March 26, 2013, 09:14:10 AM »
TLPD.

Simple.

Uncomplicated.

Works.

Sweet.

(direct)    http://sourceforge.net/projects/tlpd/files/v1.2/TLPD.exe/download?use_mirror=hivelocity

(source)   http://sourceforge.n...projects/tlpd/files/



limelect

  • Member
  • Joined in 2009
  • **
  • Posts: 53
    • View Profile
    • Donate to Member
Re: NANY 2013 Release Find Long Names
« Reply #16 on: March 26, 2013, 04:00:48 PM »
To do a simple program like this in Delphi it takes less than 10 lines of code
But then it is not fun writing the program.

MrJohnGaltshrugs

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 3
    • View Profile
    • Donate to Member
Re: NANY 2013 Release Find Long Names
« Reply #17 on: March 26, 2013, 06:15:51 PM »
limelect,

Wouldn't it be more fun to make the core program short and sweet and then expand it, enhance its capabilities and extend its functions, gussy up its interface, and so on and so forth?

limelect

  • Member
  • Joined in 2009
  • **
  • Posts: 53
    • View Profile
    • Donate to Member
Re: NANY 2013 Release Find Long Names
« Reply #18 on: March 27, 2013, 01:21:00 AM »
Well you mite be right , for an enthusiast who have fan writing code , but
to a professional ?
This program cam about of my need ,and i write tones of this kind of programs
for my own need, most are not even published.
Publishing programs on DonationCoder make it a nice gesture to the user
community but dose not add a bit to my ego as i am more than 25!!!! years in the business,
from the assembler days and before !!!
I hope you understand now.

http://www.limelect.com
http://www.limelect.com/Android
http://www.limelect.com/Delphi
http://www.limelect.com/wind
http://www.limelect.com/Android/wind

.

MrJohnGaltshrugs

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 3
    • View Profile
    • Donate to Member
Re: NANY 2013 Release Find Long Names
« Reply #19 on: March 27, 2013, 06:20:58 AM »
Noted.

nekoz

  • Supporting Member
  • Joined in 2012
  • **
  • Posts: 4
    • View Profile
    • Donate to Member
Thanks, limelect!
« Reply #20 on: April 08, 2013, 12:44:04 AM »
Thanks again for your contribution to the community, limelect!

nekoz

  • Supporting Member
  • Joined in 2012
  • **
  • Posts: 4
    • View Profile
    • Donate to Member
Thanks for TLPD
« Reply #21 on: April 08, 2013, 12:52:01 AM »
And thanks for the pointer to TLPD, MrJohnGaltshrugs!  Works well.

dcwul62

  • Supporting Member
  • Joined in 2013
  • **
  • default avatar
  • Posts: 293
    • View Profile
    • Donate to Member
Re: NANY 2013 Release Find Long Names
« Reply #22 on: August 26, 2013, 04:51:27 AM »

Who knows...

The day will come that once you start typing the filename, the OS starts counting total pathlength immediately: the characters will switch to orange once you are close to the max. path lengths and you still have NN characters to go, the characters switch to red, indicating that the total path length is too long and you should shorten it... (instead of only being able to determine it later)     :)

limelect

  • Member
  • Joined in 2009
  • **
  • Posts: 53
    • View Profile
    • Donate to Member
Re: NANY 2013 Release Find Long Names
« Reply #23 on: August 29, 2013, 01:47:43 AM »
Well it a nice idea but in my case ,i open a new directory within a directory
which is already long and then i unzip what ever.
Then if the file inside the zip file are long names , add the two,
long directory + long file name and you have a problem !!!!

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 36,406
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: NANY 2013 Release Find Long Names
« Reply #24 on: September 27, 2013, 10:30:43 PM »
Had use for this today but it seemed to stop scanning way early before it explored all subdirectories.  No errors, just never scanned very many directories.

It also didnt seem to work when when unchecking the "fix total" and asking it to find long names.

This is my first time using it so it's possible i'm doing something wrong, though i can't see what that would be.