• Welcome to Tux Reports: Where Penguins Fly. We hope you find the topics varied, interesting, and worthy of your time. Please become a member and join in the discussions.

Long Filename Hunter

D

db

Flightless Bird
hello,

is the anyone know of a
program/freeware that
can search the disk for
files with "long" file names?

it is laborious to drill down
dozens of folders and
hundreds/thousands of
subfolders hunting down
down long file names.

for example I found a
couple of tiles with filenames
as long as a sentence,

obviously using all the
amount allotted for
naming a file.

thanks...

~db

--

db·´¯`·...¸><)))º>
DatabaseBen, Retired Professional
- Systems Analyst
- Database Developer
- Accountancy
- Veteran of the Armed Forces
- Microsoft Partner
- @hotmail.com
~~~~~~~~~~"share the nirvana" - dbZen

>
>
 
T

Terry R.

Flightless Bird
On 4/22/2010 9:41 AM On a whim, db pounded out on the keyboard

> hello,
>
> is the anyone know of a
> program/freeware that
> can search the disk for
> files with "long" file names?
>
> it is laborious to drill down
> dozens of folders and
> hundreds/thousands of
> subfolders hunting down
> down long file names.
>
> for example I found a
> couple of tiles with filenames
> as long as a sentence,
>
> obviously using all the
> amount allotted for
> naming a file.
>
> thanks...
>
> ~db
>


Search should be able to show filenames with even one of the search
keywords selected. The criteria is "All or part of the file name".


Terry R.
--
Anti-spam measures are included in my email address.
Delete NOSPAM from the email address after clicking Reply.
 
P

Pegasus [MVP]

Flightless Bird
"db" <databaseben at hotmail dot com> wrote in message
news:57FC20C7-3BF8-411D-A241-CC8815710998@microsoft.com...
> hello,
>
> is the anyone know of a
> program/freeware that
> can search the disk for
> files with "long" file names?
>
> it is laborious to drill down
> dozens of folders and
> hundreds/thousands of
> subfolders hunting down
> down long file names.
>
> for example I found a
> couple of tiles with filenames
> as long as a sentence,
>
> obviously using all the
> amount allotted for
> naming a file.
>
> thanks...
>
> ~db


You could write a little script "LongFileName.vbs", then apply it like so:

dir c:/ /s /b /a-d | LongFileName.vbs > c:/LongNames.txt

The script itself is trivial and would require between 10 and 20 lines of
code. You will need to decide what you mean by "long file name": The name
itself or path+name.
 
D

db

Flightless Bird
thanks for the info

part of the problem
I have is that I don't
have any filenames
in mind.

I am simply trying to
locate "any/all" files
that have filenames
that exceed a certain
length.

thanks for the info
though.

if you come across
anything nifty, please
let me know

:)

--

db·´¯`·...¸><)))º>
DatabaseBen, Retired Professional
- Systems Analyst
- Database Developer
- Accountancy
- Veteran of the Armed Forces
- Microsoft Partner
- @hotmail.com
~~~~~~~~~~"share the nirvana" - dbZen

>
>


"Terry R." <F1Com@NOSPAMpobox.com> wrote in message news:ecG44Mk4KHA.3184@TK2MSFTNGP05.phx.gbl...
> On 4/22/2010 9:41 AM On a whim, db pounded out on the keyboard
>
>> hello,
>>
>> is the anyone know of a
>> program/freeware that
>> can search the disk for
>> files with "long" file names?
>>
>> it is laborious to drill down
>> dozens of folders and
>> hundreds/thousands of
>> subfolders hunting down
>> down long file names.
>>
>> for example I found a
>> couple of tiles with filenames
>> as long as a sentence,
>>
>> obviously using all the
>> amount allotted for
>> naming a file.
>>
>> thanks...
>>
>> ~db
>>

>
> Search should be able to show filenames with even one of the search keywords selected. The criteria is "All or part of the file
> name".
>
>
> Terry R.
> --
> Anti-spam measures are included in my email address.
> Delete NOSPAM from the email address after clicking Reply.
 
D

db

Flightless Bird
thanks for the script.

I know you're an expert
with scripts.

how I came across
the problem is that
I had my xp laptop
networked to my vista
pc to copy over my doc's
folder to a dedicated
folder on my pc.

I do it as a backup plus
sometimes I want to edit
or view my laptop's files
via the pc.

I have used the methodology
above for a number years and
has proven to be flawless for
me.

however, yesterday the
transfer of files from the
lap to the pc abruptly stopped
with a message citing a
particular file had a filename
too long.

I also noticed that the filename
seemed to elude to being a
laptop proprietary file or a
system file.

its' filename was so long that
it exceeded the boundaries
of the warning msg/pop up..

there wasn't any room for
the pathname on the msg
as well.

who knows why such a file
would be in my doc's to
begin with.

butt I simply can not locate
it or others that may have
the same problem..

in any case, I will try
out your script as it
sounds like a good start
to sort out this peculiarity.

then I suppose I can
import the resulting text
file into one of the office
modules to sort the data.

thanks for the help.
..
--

db·´¯`·...¸><)))º>
DatabaseBen, Retired Professional
- Systems Analyst
- Database Developer
- Accountancy
- Veteran of the Armed Forces
- Microsoft Partner
- @hotmail.com
~~~~~~~~~~"share the nirvana" - dbZen

>
>


"Pegasus [MVP]" <news@microsoft.com> wrote in message news:-O0TuDRk4KHA.420@TK2MSFTNGP02.phx.gbl...
>
>
> "db" <databaseben at hotmail dot com> wrote in message news:57FC20C7-3BF8-411D-A241-CC8815710998@microsoft.com...
>> hello,
>>
>> is the anyone know of a
>> program/freeware that
>> can search the disk for
>> files with "long" file names?
>>
>> it is laborious to drill down
>> dozens of folders and
>> hundreds/thousands of
>> subfolders hunting down
>> down long file names.
>>
>> for example I found a
>> couple of tiles with filenames
>> as long as a sentence,
>>
>> obviously using all the
>> amount allotted for
>> naming a file.
>>
>> thanks...
>>
>> ~db

>
> You could write a little script "LongFileName.vbs", then apply it like so:
>
> dir c:/ /s /b /a-d | LongFileName.vbs > c:/LongNames.txt
>
> The script itself is trivial and would require between 10 and 20 lines of code. You will need to decide what you mean by "long
> file name": The name itself or path+name.
 
D

Donald Lessau

Flightless Bird
"db" <databaseben at hotmail dot com> schrieb im Newsbeitrag
news:57FC20C7-3BF8-411D-A241-CC8815710998@microsoft.com...
> hello,
>
> is the anyone know of a
> program/freeware that
> can search the disk for
> files with "long" file names?


The XYplorer file manager can do that. Simply enter this into the Name field
on the Find Files tab:
len: >= 260

This will list all files under the current folder with path/names same or
longer than 260 characters.

http://www.xyplorer.com/

Don
 
P

Pegasus [MVP]

Flightless Bird
I didn't actually post any script - I merely suggested how one might use
such a script once the specs were nailed down properly.

"db" <databaseben at hotmail dot com> wrote in message
news:#a3Lzjk4KHA.4520@TK2MSFTNGP02.phx.gbl...
> thanks for the script.
>
> I know you're an expert
> with scripts.
>
> how I came across
> the problem is that
> I had my xp laptop
> networked to my vista
> pc to copy over my doc's
> folder to a dedicated
> folder on my pc.
>
> I do it as a backup plus
> sometimes I want to edit
> or view my laptop's files
> via the pc.
>
> I have used the methodology
> above for a number years and
> has proven to be flawless for
> me.
>
> however, yesterday the
> transfer of files from the
> lap to the pc abruptly stopped
> with a message citing a
> particular file had a filename
> too long.
>
> I also noticed that the filename
> seemed to elude to being a
> laptop proprietary file or a
> system file.
>
> its' filename was so long that
> it exceeded the boundaries
> of the warning msg/pop up..
>
> there wasn't any room for
> the pathname on the msg
> as well.
>
> who knows why such a file
> would be in my doc's to
> begin with.
>
> butt I simply can not locate
> it or others that may have
> the same problem..
>
> in any case, I will try
> out your script as it
> sounds like a good start
> to sort out this peculiarity.
>
> then I suppose I can
> import the resulting text
> file into one of the office
> modules to sort the data.
>
> thanks for the help.
> .
> --
>
> db·´¯`·...¸><)))º>
> DatabaseBen, Retired Professional
> - Systems Analyst
> - Database Developer
> - Accountancy
> - Veteran of the Armed Forces
> - Microsoft Partner
> - @hotmail.com
> ~~~~~~~~~~"share the nirvana" - dbZen
>
>>
>>

>
> "Pegasus [MVP]" <news@microsoft.com> wrote in message
> news:-O0TuDRk4KHA.420@TK2MSFTNGP02.phx.gbl...
>>
>>
>> "db" <databaseben at hotmail dot com> wrote in message
>> news:57FC20C7-3BF8-411D-A241-CC8815710998@microsoft.com...
>>> hello,
>>>
>>> is the anyone know of a
>>> program/freeware that
>>> can search the disk for
>>> files with "long" file names?
>>>
>>> it is laborious to drill down
>>> dozens of folders and
>>> hundreds/thousands of
>>> subfolders hunting down
>>> down long file names.
>>>
>>> for example I found a
>>> couple of tiles with filenames
>>> as long as a sentence,
>>>
>>> obviously using all the
>>> amount allotted for
>>> naming a file.
>>>
>>> thanks...
>>>
>>> ~db

>>
>> You could write a little script "LongFileName.vbs", then apply it like
>> so:
>>
>> dir c:/ /s /b /a-d | LongFileName.vbs > c:/LongNames.txt
>>
>> The script itself is trivial and would require between 10 and 20 lines of
>> code. You will need to decide what you mean by "long file name": The name
>> itself or path+name.

>
 
D

db

Flightless Bird
in any case, your suggestion
is a helpful reminder of what is
possible.

thanks!

--

db·´¯`·...¸><)))º>
DatabaseBen, Retired Professional
- Systems Analyst
- Database Developer
- Accountancy
- Veteran of the Armed Forces
- Microsoft Partner
- @hotmail.com
~~~~~~~~~~"share the nirvana" - dbZen

>
>


"Pegasus [MVP]" <news@microsoft.com> wrote in message news:ue8G7xl4KHA.5808@TK2MSFTNGP02.phx.gbl...
> I didn't actually post any script - I merely suggested how one might use such a script once the specs were nailed down properly.
>
> "db" <databaseben at hotmail dot com> wrote in message news:#a3Lzjk4KHA.4520@TK2MSFTNGP02.phx.gbl...
>> thanks for the script.
>>
>> I know you're an expert
>> with scripts.
>>
>> how I came across
>> the problem is that
>> I had my xp laptop
>> networked to my vista
>> pc to copy over my doc's
>> folder to a dedicated
>> folder on my pc.
>>
>> I do it as a backup plus
>> sometimes I want to edit
>> or view my laptop's files
>> via the pc.
>>
>> I have used the methodology
>> above for a number years and
>> has proven to be flawless for
>> me.
>>
>> however, yesterday the
>> transfer of files from the
>> lap to the pc abruptly stopped
>> with a message citing a
>> particular file had a filename
>> too long.
>>
>> I also noticed that the filename
>> seemed to elude to being a
>> laptop proprietary file or a
>> system file.
>>
>> its' filename was so long that
>> it exceeded the boundaries
>> of the warning msg/pop up..
>>
>> there wasn't any room for
>> the pathname on the msg
>> as well.
>>
>> who knows why such a file
>> would be in my doc's to
>> begin with.
>>
>> butt I simply can not locate
>> it or others that may have
>> the same problem..
>>
>> in any case, I will try
>> out your script as it
>> sounds like a good start
>> to sort out this peculiarity.
>>
>> then I suppose I can
>> import the resulting text
>> file into one of the office
>> modules to sort the data.
>>
>> thanks for the help.
>> .
>> --
>>
>> db·´¯`·...¸><)))º>
>> DatabaseBen, Retired Professional
>> - Systems Analyst
>> - Database Developer
>> - Accountancy
>> - Veteran of the Armed Forces
>> - Microsoft Partner
>> - @hotmail.com
>> ~~~~~~~~~~"share the nirvana" - dbZen
>>
>>>
>>>

>>
>> "Pegasus [MVP]" <news@microsoft.com> wrote in message news:-O0TuDRk4KHA.420@TK2MSFTNGP02.phx.gbl...
>>>
>>>
>>> "db" <databaseben at hotmail dot com> wrote in message news:57FC20C7-3BF8-411D-A241-CC8815710998@microsoft.com...
>>>> hello,
>>>>
>>>> is the anyone know of a
>>>> program/freeware that
>>>> can search the disk for
>>>> files with "long" file names?
>>>>
>>>> it is laborious to drill down
>>>> dozens of folders and
>>>> hundreds/thousands of
>>>> subfolders hunting down
>>>> down long file names.
>>>>
>>>> for example I found a
>>>> couple of tiles with filenames
>>>> as long as a sentence,
>>>>
>>>> obviously using all the
>>>> amount allotted for
>>>> naming a file.
>>>>
>>>> thanks...
>>>>
>>>> ~db
>>>
>>> You could write a little script "LongFileName.vbs", then apply it like so:
>>>
>>> dir c:/ /s /b /a-d | LongFileName.vbs > c:/LongNames.txt
>>>
>>> The script itself is trivial and would require between 10 and 20 lines of code. You will need to decide what you mean by "long
>>> file name": The name itself or path+name.

>>
 
D

db

Flightless Bird
thanks!!

I'll it give a try.

~db

--

db·´¯`·...¸><)))º>
DatabaseBen, Retired Professional
- Systems Analyst
- Database Developer
- Accountancy
- Veteran of the Armed Forces
- Microsoft Partner
- @hotmail.com
~~~~~~~~~~"share the nirvana" - dbZen

>
>


"Donald Lessau" <don@oflex.com> wrote in message news:ekdsL7k4KHA.980@TK2MSFTNGP04.phx.gbl...
> "db" <databaseben at hotmail dot com> schrieb im Newsbeitrag news:57FC20C7-3BF8-411D-A241-CC8815710998@microsoft.com...
>> hello,
>>
>> is the anyone know of a
>> program/freeware that
>> can search the disk for
>> files with "long" file names?

>
> The XYplorer file manager can do that. Simply enter this into the Name field on the Find Files tab:
> len: >= 260
>
> This will list all files under the current folder with path/names same or longer than 260 characters.
>
> http://www.xyplorer.com/
>
> Don
 
Top