Question

  • Creator
    Topic
  • #2269692

    Command Prompt

    Locked

    by thundermc ·

    What could be the command in the command prompt if i want to find a word in a text, with the count of the word display in the text?
    Ex: C:\program file\windows media player> if i want to know the how many time the word “you” is display in the text. the count etc.
    Thanks you

All Answers

  • Author
    Replies
    • #2535229

      Clarifications

      by thundermc ·

      In reply to Command Prompt

      Clarifications

    • #2535174

      Have a play with this

      by rob miners ·

      In reply to Command Prompt

      Command

      dir “D:\MDocs\My Music\Keith Urban\Be Here”\*here*.* > D:\music.txt

      Output

      Volume in drive D is Data
      Volume Serial Number is CC49-DD92

      Directory of D:\MDocs\My Music\Keith Urban\Be Here

      28-01-2007 08:48 AM 5,446,182 01 Days Go By Keith Urban Be Here.wma
      28-01-2007 08:48 AM 6,833,124 02 Better Life Keith Urban Be Here.wma
      28-01-2007 08:48 AM 6,072,542 03 Making Memories of Us Keith Urban Be Here.wma
      28-01-2007 08:48 AM 5,267,216 04 God’s Been Good to Me Keith Urban Be Here.wma
      28-01-2007 08:48 AM 6,707,870 05 The Hard Way Keith Urban Be Here.wma
      28-01-2007 08:48 AM 6,108,354 06 You’re My Better Half Keith Urban Be Here.wma
      28-01-2007 08:48 AM 7,718,970 07 Could Fly Keith Urban Be Here.wma
      28-01-2007 08:48 AM 6,260,468 08 Tonight I Wanna Cry Keith Urban Be Here.wma
      28-01-2007 08:48 AM 7,047,882 09 She’s Gotta Be Keith Urban Be Here.wma
      28-01-2007 08:48 AM 7,754,784 10 Nobody Drinks Alone Keith Urban Be Here.wma
      28-01-2007 08:48 AM 6,349,940 11 Country Comfort Keith Urban Be Here.wma
      28-01-2007 08:48 AM 5,061,448 12 Live to Love Another Day Keith Urban Be Here.wma
      28-01-2007 08:48 AM 4,095,050 13 These Are the Days Keith Urban Be Here.wma
      28-01-2007 08:48 AM 7,038,796 14 You or Somebody Like You Keith Urban Be Here.wma
      14 File(s) 87,762,626 bytes
      0 Dir(s) 46,567,808,000 bytes free

Viewing 1 reply thread