Long Filename Hunter

D

db

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.

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.
 
P

Pegasus [MVP]

db said:
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

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
 
D

db

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
 
D

Donald Lessau

db said:
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]

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

db

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
 
D

db

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

drive simulator 3
Power Supply Utility 2
explorer columns 1
suggestion: Move As 1
about my private folder 2
Forcing Priority 1
Vista 32 5
Autoruns crashed vista boot 3

Top