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

Author Topic: Geting command on .txt file:)  (Read 13338 times)

0 Members and 1 Guest are viewing this topic.

dando

  • Guest
Geting command on .txt file:)
« on: May 02, 2004, 04:35:14 AM »
i mean,that when i will run a .bat file,it will do
ipconfig
and then make a .txt file that will have the result's inside
i understood that there is something like: ipconfig >> output.txt
but im only geting a blank output.txt
thx in advnce.

sky

  • Guest
Re: Geting command on .txt file:)
« Reply #1 on: May 03, 2004, 12:42:41 PM »
Hi dando,

pipeing is done by >

u shd type ipconfig > output.txt

dev

  • Guest
Re: Geting command on .txt file:)
« Reply #2 on: May 11, 2004, 04:20:06 PM »
the > pipes the output to a new textfile
the >> pipes the output to an already existing textfile and appends it to the end.

My batfile is much like this (as it uses ipconfig once) and uses several of your commands. The source is included http://www.computerhope.com/cgi-bin/yabb/YaBB.cgi?board=2;action=display;num=1084313588;start=0#0

billrich

  • Guest
Re: Geting command on .txt file:)
« Reply #3 on: September 14, 2009, 02:33:44 PM »
>,  redirect  >>, append  |, pipe

C:\>ipconfig

Windows IP Configuration


Ethernet adapter Local Area Connection:

        Connection-specific DNS Suffix  . : ok.cox.net
        IP Address. . . . . . . . . . . . : 9999999999999
        Subnet Mask . . . . . . . . . . . : 255.255.248.0
        Default Gateway . . . . . . . . . : 68.97.208.1

C:\>ipconfig >  saveip.txt

C:\>type saveip.txt

Windows IP Configuration


Ethernet adapter Local Area Connection:

        Connection-specific DNS Suffix  . : ok.cox.net
        IP Address. . . . . . . . . . . . : 999999999999999
        Subnet Mask . . . . . . . . . . . : 255.255.248.0
        Default Gateway . . . . . . . . . : 68.97.208.1
« Last Edit: September 14, 2009, 03:30:39 PM by billrich »

Salmon Trout

  • Guest
Re: Geting command on .txt file:)
« Reply #4 on: September 14, 2009, 02:38:12 PM »
Congratulations on reviving a thread that is 5 and a quarter years old!

kpac

  • Web moderator


  • Hacker

  • kpac®
  • Thanked: 184
    • Yes
    • Yes
    • Yes
  • Certifications: List
  • Computer: Specs
  • Experience: Expert
  • OS: Windows 7
Re: Geting command on .txt file:)
« Reply #5 on: September 14, 2009, 02:38:57 PM »
Yeah, CH was even using YaBB back then!

billrich

  • Guest
Re: Geting command on .txt file:)
« Reply #6 on: September 14, 2009, 03:32:09 PM »
?
« Last Edit: September 15, 2009, 06:00:10 PM by billrich »

BC_Programmer


    Mastermind
  • Typing is no substitute for thinking.
  • Thanked: 1140
    • Yes
    • Yes
    • BC-Programming.com
  • Certifications: List
  • Computer: Specs
  • Experience: Beginner
  • OS: Windows 11
Re: Geting command on .txt file:)
« Reply #7 on: September 14, 2009, 07:05:39 PM »
We repeat what Jesus said and it is more than four years?

you actually believe this is an accurate analogy?

I was trying to dereference Null Pointers before it was cool.

BatchFileBasics



    Hopeful

    Thanked: 18
    Re: Geting command on .txt file:)
    « Reply #8 on: September 15, 2009, 06:04:28 PM »
    We repeat what Jesus said and it is more than four years?

    but christians\catholics have a reason, they believe he sacrificed himself for them (im sorry if i do not know how it goes)

    and you are just bringing back an unneccassary post
    When the power of love overcomes the love of power the world will know peace - Jimi Hendrix.

    BC_Programmer


      Mastermind
    • Typing is no substitute for thinking.
    • Thanked: 1140
      • Yes
      • Yes
      • BC-Programming.com
    • Certifications: List
    • Computer: Specs
    • Experience: Beginner
    • OS: Windows 11
    Re: Geting command on .txt file:)
    « Reply #9 on: September 15, 2009, 08:00:22 PM »
    the mexicans call him hey-zus.
    I was trying to dereference Null Pointers before it was cool.

    Helpmeh



      Guru

    • Roar.
    • Thanked: 123
      • Yes
      • Yes
    • Computer: Specs
    • Experience: Familiar
    • OS: Windows 8
    Re: Geting command on .txt file:)
    « Reply #10 on: September 15, 2009, 08:04:44 PM »
    the mexicans call him hey-zus.
    That's because they pronounce Js like Hs.
    Where's MagicSpeed?
    Quote from: 'matt'
    He's playing a game called IRL. Great graphics, *censored* gameplay.

    BatchFileBasics



      Hopeful

      Thanked: 18
      Re: Geting command on .txt file:)
      « Reply #11 on: September 15, 2009, 09:58:45 PM »
      yea, and bc, i would like it if you say latin's instead of mexicans. its like saying, the americans say it like gee-zuz
      When the power of love overcomes the love of power the world will know peace - Jimi Hendrix.

      BC_Programmer


        Mastermind
      • Typing is no substitute for thinking.
      • Thanked: 1140
        • Yes
        • Yes
        • BC-Programming.com
      • Certifications: List
      • Computer: Specs
      • Experience: Beginner
      • OS: Windows 11
      Re: Geting command on .txt file:)
      « Reply #12 on: September 15, 2009, 10:00:54 PM »
      its like saying, the americans say it like gee-zuz

      And that is bad because?
      I was trying to dereference Null Pointers before it was cool.

      BatchFileBasics



        Hopeful

        Thanked: 18
        Re: Geting command on .txt file:)
        « Reply #13 on: September 15, 2009, 10:14:11 PM »
        what im trying to say is that just because its spanish doesn't mean it comes from mexicans.

        and for some reason, i can't describe what im trying to tell you...
        When the power of love overcomes the love of power the world will know peace - Jimi Hendrix.

        Geek-9pm


          Mastermind
        • Geek After Dark
        • Thanked: 1026
          • Gekk9pm bnlog
        • Certifications: List
        • Computer: Specs
        • Experience: Expert
        • OS: Windows 10
        Re: Geting command on .txt file:)
        « Reply #14 on: September 15, 2009, 10:35:32 PM »
        what im trying to say is that just because its spanish doesn't mean it comes from mexicans.
        and for some reason, i can't describe what im trying to tell you...
        Thank you. My two daughters are both fluent in Spanish and have spent no more that a day in Mexico. But we went to Disney World three times.

        BC_Programmer


          Mastermind
        • Typing is no substitute for thinking.
        • Thanked: 1140
          • Yes
          • Yes
          • BC-Programming.com
        • Certifications: List
        • Computer: Specs
        • Experience: Beginner
        • OS: Windows 11
        Re: Geting command on .txt file:)
        « Reply #15 on: September 15, 2009, 10:37:28 PM »
        that's better. but some countries in latin america speak portuguese. So it's simply extending the blanket.

        Additionally neither mexicans, nor any other spanish speaking person I know pronounces it that way; it was more or less a reverse plug on the common problem "I'd like 10 chicken fa-jite-ahhs" or pronouncing "Jalapeno" with the J sound, but in the reverse direction; or any number of english words that are derived from foriegn languages and retain the inconsistent pronounciation rules of their mother language, not a plug against mexicans, who have no compass to know how a j is pronounced in english.
        I was trying to dereference Null Pointers before it was cool.

        Geek-9pm


          Mastermind
        • Geek After Dark
        • Thanked: 1026
          • Gekk9pm bnlog
        • Certifications: List
        • Computer: Specs
        • Experience: Expert
        • OS: Windows 10
        Re: Geting command on .txt file:)
        « Reply #16 on: September 15, 2009, 10:45:24 PM »

        So, then, being the topic is:
        Quote
        Re: Geting command on .txt file:)
        We need to know if the version of Windows he is using was sold in Latin America. That would make a big difference in the BAT file. -Right?
        Oh, I mean ¿Cierto?  8)

        BatchFileBasics



          Hopeful

          Thanked: 18
          Re: Geting command on .txt file:)
          « Reply #17 on: September 15, 2009, 10:50:46 PM »
          ahh muy cierto
          When the power of love overcomes the love of power the world will know peace - Jimi Hendrix.

          billrich

          • Guest
          Re: Geting command on .txt file:)
          « Reply #18 on: September 15, 2009, 11:03:04 PM »
          Cuándo el poder del amor vence el amor de enchufa el mundo sabrá la paz

          Cuándo Infierno se hiela


          Geek-9pm


            Mastermind
          • Geek After Dark
          • Thanked: 1026
            • Gekk9pm bnlog
          • Certifications: List
          • Computer: Specs
          • Experience: Expert
          • OS: Windows 10
          Re: Geting command on .txt file:)
          « Reply #19 on: September 15, 2009, 11:09:28 PM »
          Del dicho al hecho, hay mucho trecho.

          BC_Programmer


            Mastermind
          • Typing is no substitute for thinking.
          • Thanked: 1140
            • Yes
            • Yes
            • BC-Programming.com
          • Certifications: List
          • Computer: Specs
          • Experience: Beginner
          • OS: Windows 11
          Re: Geting command on .txt file:)
          « Reply #20 on: September 15, 2009, 11:15:19 PM »
          Je déteste tout le vous, avec votre Espagnol. Je me demande également quand j'ai appri le français…
          I was trying to dereference Null Pointers before it was cool.

          Salmon Trout

          • Guest
          Re: Geting command on .txt file:)
          « Reply #21 on: September 16, 2009, 12:10:47 AM »
          I thought Americans said "GeeBus".

          BatchFileBasics



            Hopeful

            Thanked: 18
            Re: Geting command on .txt file:)
            « Reply #22 on: September 16, 2009, 06:43:00 PM »
            Cuándo el poder del amor vence el amor de enchufa el mundo sabrá la paz

            Cuándo Infierno se hiela



            se supone que ser una broma?
            When the power of love overcomes the love of power the world will know peace - Jimi Hendrix.

            Salmon Trout

            • Guest
            Re: Geting command on .txt file:)
            « Reply #23 on: September 17, 2009, 12:31:49 AM »
            Additionally neither mexicans, nor any other spanish speaking person I know pronounces it that way

            In Chile and in the Rioplatense dialect spoken in parts of Argentinia J becomes like German 'ch' in ich when it precedes palatal vowels [i, e] for example: gente, jinete.