Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Extract specific filename from a text file into a new text file  (Read 5908 times)

0 Members and 1 Guest are viewing this topic.

Squashman



    Specialist
  • Thanked: 134
  • Experience: Experienced
  • OS: Other
Re: Extract specific filename from a text file into a new text file
« Reply #15 on: October 04, 2016, 06:47:23 PM »
how to specify a delimiter of a full stop <.>
No idea what this means.

 
I have been trying to look for a URL that give tutorials into all these command, do you have one to recommend ?
1) Open up a cmd prompt and type the command name followed by a forward slash and question mark ex: FOR /?
2) http://ss64.com/nt/

hdragon33

    Topic Starter


    Greenhorn

    • Experience: Beginner
    • OS: Windows 7
    Re: Extract specific filename from a text file into a new text file
    « Reply #16 on: October 06, 2016, 01:30:58 AM »
    I mean if I want to use delimiter that recognise .

    for example
    abc.123

    I want to use the . as delimiter to start read after it and out put 123

    Squashman



      Specialist
    • Thanked: 134
    • Experience: Experienced
    • OS: Other
    Re: Extract specific filename from a text file into a new text file
    « Reply #17 on: October 06, 2016, 06:20:29 AM »
    I mean if I want to use delimiter that recognise .

    for example
    abc.123

    I want to use the . as delimiter to start read after it and out put 123
    What if there are multiple delimiters in your data?  What should we do then?

    foxidrive



      Specialist
    • Thanked: 268
    • Experience: Experienced
    • OS: Windows 8
    Re: Extract specific filename from a text file into a new text file
    « Reply #18 on: October 06, 2016, 11:50:46 PM »
    I mean if I want to use delimiter that recognise .

    for example
    abc.123


    A program does one thing very well but it usually fails when you try to make it do other things.  You've found this out the hard way.   Your comments make it clear that your task is different to the task you described.


    Your further questions are still using inaccurate information - do you realise that you are wasting the time of the person who gave you an answer in the first place?

    hdragon33

      Topic Starter


      Greenhorn

      • Experience: Beginner
      • OS: Windows 7
      Re: Extract specific filename from a text file into a new text file
      « Reply #19 on: October 09, 2016, 09:17:12 PM »
      Hi Squash and Fox,

      Guys, please don't take this the wrong way. I am trying to understand how this delimiter works and at the same time learn. True ... it does deviates somewhat from the original needs but I am trying not to start all news threads that is related somewhat.

      I am new here. But if the norm here is to post new thread although may related I am ok to start a new one.

      Not trying to waste people's time or undermine the effort


      foxidrive



        Specialist
      • Thanked: 268
      • Experience: Experienced
      • OS: Windows 8
      Re: Extract specific filename from a text file into a new text file
      « Reply #20 on: October 10, 2016, 11:40:36 PM »
      please don't take this the wrong way. I am trying to understand how this delimiter works and at the same time learn.

      That's clear hdragon33 and it's the reason this forum exisits.  Ask your questions by all means.

      The problem with batch programming is that the code in the solution often changes dramatically if the question/task changes.

      A person can respond and give the answer but then the question changes and so the answer has to change.  This tends to waste the time that has already been spent to give the answer.   


      The upshot is to ask a precise question about what you need to do, OR ask about a specific batch technique or command and the readers can chat about that.

      The need to give precise details is more significant in batch scripting than some other languages.

      hdragon33

        Topic Starter


        Greenhorn

        • Experience: Beginner
        • OS: Windows 7
        Re: Extract specific filename from a text file into a new text file
        « Reply #21 on: October 11, 2016, 01:30:02 AM »
        Thank you once again for the response. Will re-compose new question if the need arises

        patio

        • Moderator


        • Genius
        • Maud' Dib
        • Thanked: 1769
          • Yes
        • Experience: Beginner
        • OS: Windows 7
        Re: Extract specific filename from a text file into a new text file
        « Reply #22 on: October 11, 2016, 07:36:55 AM »
        Re-compile... 8)
        " Anyone who goes to a psychiatrist should have his head examined. "