Need utility to count number of characters in a filename...

  • Thread starter Thread starter mrsfixit
  • Start date Start date
M

mrsfixit

Hi all,
I am seeking a simple utility that will allow me to count the number of
characters in a filename.

I would like something that perhaps integrates into the shell, and might display
the info by right clicking on the file.

It must also work with W2K.

I'm sure there must be a way to do this, but for the life of me I can't figure
out how.

Thanks very much for any help,

mrsfixit
 
Hi all,
I am seeking a simple utility that will allow me to count the number
of characters in a filename.

I would like something that perhaps integrates into the shell, and
might display the info by right clicking on the file.

It must also work with W2K.

I'm sure there must be a way to do this, but for the life of me I
can't figure out how.
you could do it trivially with vbscript - but while you *could* add a shell
extension for that, it seems like overkill.
why do you need it? is it something like needing to find all names longer
than 'x', in which case you could use a vb script to recurse an entire
drive or subdir structure and list the names longer than that in a txt
file.
 
mrsfixit said:
I am seeking a simple utility that will allow me to count the
number of characters in a filename.

That was an unusual request, but it can be done.

The old UNIX utility wc (WordCount) can help with this. A version for
Windows can be found at http://unxutils.sourceforge.net/

If your file is "foo.bar", doing
dir foo.bar /b | wc -L
will give you 7.

I do suspect that you really mean to count the number of characters in
the file, not the filename. If so, do a
cat foo.bar | wc -c
instead. cat can be found in the same archive as wc.
 
If you have word processors like Abiword, 602 suite, or XPert word, all
freeware, each has a word count in tools-menu bar.
 
mrsfixit said:
Hi all,
I am seeking a simple utility that will allow me to count the number of
characters in a filename.


Long Filename Finder

http://www.dcsoft.com/products.htm

Easily find and shorten filenames for CD-R burning. (free!)

LONGFF.ZIP Apr 25, 2002 [297 KB]

Thanks Susan!

This seems like it might do the trick.

I was seeking such a utility- for cd burning.... and that is exactly what this
is for.

Thanks everyone for your speedy replies!

mrsfixit
 
Back
Top