Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Newsgroups > Vista file management

Vista - counting file name

Reply
 
Old 12-08-2008   #1 (permalink)
Periz28


 
 

counting file name

Hello,
i need to know if there is an easy way (or help with a difficult way) to
count how many times a partial filename appears in a folder. for example:
in today's folder I have 45 pdf's. I need to know how many of them contain
"- 1 -" as part of the filename.
Can anyone help?
thank you!

My System SpecsSystem Spec
Old 12-08-2008   #2 (permalink)
Josh Phillips


 
 

Re: counting file name

hmm well not sure this is what you want, but you could use a command prompt
navigate to the directory and do a

DIR *1*

should have a file count at the bottom of the list.

that help?

--
Thanks,
Josh Phillips
http://windowsconnected.com
http://twitter.com/JoshPhillips

"Periz28" <Periz28@xxxxxx> wrote in message
news:1C9F7634-F9EA-4878-9EA4-971C8C2FD9DD@xxxxxx
Quote:

> Hello,
> i need to know if there is an easy way (or help with a difficult way) to
> count how many times a partial filename appears in a folder. for example:
> in today's folder I have 45 pdf's. I need to know how many of them
> contain
> "- 1 -" as part of the filename.
> Can anyone help?
> thank you!
My System SpecsSystem Spec
Old 12-08-2008   #3 (permalink)
Periz28


 
 

Re: counting file name

B E A utiful. thanks very much!

"Josh Phillips" wrote:
Quote:

> hmm well not sure this is what you want, but you could use a command prompt
> navigate to the directory and do a
>
> DIR *1*
>
> should have a file count at the bottom of the list.
>
> that help?
>
> --
> Thanks,
> Josh Phillips
> http://windowsconnected.com
> http://twitter.com/JoshPhillips
>
> "Periz28" <Periz28@xxxxxx> wrote in message
> news:1C9F7634-F9EA-4878-9EA4-971C8C2FD9DD@xxxxxx
Quote:

> > Hello,
> > i need to know if there is an easy way (or help with a difficult way) to
> > count how many times a partial filename appears in a folder. for example:
> > in today's folder I have 45 pdf's. I need to know how many of them
> > contain
> > "- 1 -" as part of the filename.
> > Can anyone help?
> > thank you!
>
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
counting problem .NET General
Re: 1 3/4 hour and counting Vista General
Re: 1 3/4 hour and counting Vista General
Counting a particular node in a XML file PowerShell
RC-1 install - 6 hrs and counting Vista installation & setup


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46