DBAsupport.com Forums - Powered by vBulletin
Results 1 to 4 of 4

Thread: BATCH SCRIPTING HELP NEEDED

  1. #1
    Join Date
    Jan 2001
    Posts
    2,828

    Talking

    Hi all


    Here i am again stuck with this dos .........need help in writing a windows bat file.

    Mt Komapny
    ------------------------------------------------------------------------------------------------------------------------------------
    L | Component |type
    ------------------------------------------------------------------------------------------------------------------------------------
    1 | wh ware |yes | No
    2 | wh ware | go | Inboundate


    now i have thousand of records in a file i would like to have a c0unt of ware where the type is yes .any ideas on how to do it.

    could somebody tell me how to do it using awk on unix or some other method on NT.

    regards
    hrishy



    [Edited by hrishy on 07-25-2001 at 01:34 AM]

  2. #2
    Join Date
    Jun 2000
    Location
    Madrid, Spain
    Posts
    7,447
    how about download CYGWIN and run your shell scripts in NT?

  3. #3
    Join Date
    Jan 2001
    Posts
    2,828

    Talking

    Hi all


    Here i am again stuck with this dos .........need help in writing a windows bat file.

    Mt Komapny
    ------------------------------------------------------------------------------------------------------------------------------------
    L | Component |type
    ------------------------------------------------------------------------------------------------------------------------------------
    1 | wh ware |yes | No
    2 | wh ware | go | Inboundate


    now i have thousand of records in a file i would like to have a c0unt of ware where the type is yes .any ideas on how to do it.

    could somebody tell me how to do it using awk on unix or some other method on NT.

    regards
    hrishy




  4. #4
    Join Date
    Jan 2001
    Posts
    2,828

    Talking

    Hi folks

    i finally solved the problem............well bill seems to have provided us with a small help file for batch scripting on winnt..............after all bill seems to be friendly guy.thankx billy...........ah thanx pando for the pointer on cygwin.

    regards
    hrishy

    [Edited by hrishy on 07-25-2001 at 04:30 AM]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width