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

Author Topic: small batch program's I find and make enjoy from DeltaSpider  (Read 22701 times)

0 Members and 1 Guest are viewing this topic.

Neil



    Expert
  • Fear me Track. Noone can escape my wrath.
  • Thanked: 3
    Re: small batch program's I find and make enjoy from DeltaSpider
    « Reply #15 on: April 02, 2007, 04:56:32 PM »
    The irony in your reply is self-evident.

    DeltaSpider

      Topic Starter


      Greenhorn

    • When you stop tring you start dieing,DeltaSpider
    • Thanked: 1
      Re: small batch program's I find and make enjoy from DeltaSpider
      « Reply #16 on: April 02, 2007, 05:27:16 PM »
      Yeah I figured that much out ,but had to do it anyway!

      Wasn't tring to be a smart a$$ or anything Neil -just going on with the Batch stuff.
      If you have anything to add- it's welcomed by all..even I! ok

      I'm sure you have some search link's in the UK that I don't have access to
      that have some pretty good batch stuff!
      Maybe even something that you wrote yourself ! 8)


      « Last Edit: April 02, 2007, 06:23:39 PM by DeltaSpider »

      Dilbert

      • Moderator


      • Egghead

      • Welcome to ComputerHope!
      • Thanked: 44
        Re: small batch program's I find and make enjoy from DeltaSpider
        « Reply #17 on: April 02, 2007, 10:34:17 PM »
        - - -
         How about this: Create a menu allowing users to pick any of those utilities from that menu. YouŽll need to know SET /P to do that. :)

        How about  choice.com ?
        :)


        CHOICE doesn't allow for string input, making its use limited.
        "The geek shall inherit the Earth."

        DeltaSpider

          Topic Starter


          Greenhorn

        • When you stop tring you start dieing,DeltaSpider
        • Thanked: 1
          Re: small batch program's I find and make enjoy from DeltaSpider
          « Reply #18 on: April 03, 2007, 02:09:45 AM »
          Any input on how I could use this to clean up my code..

          Short cut's are alway's welcome.

          I have been altering some of my batch program's but haven't finished
          what i'm tring to get them to do yet !

          About to download them here and see if anyone has any pointer's for me.



          DeltaSpider

            Topic Starter


            Greenhorn

          • When you stop tring you start dieing,DeltaSpider
          • Thanked: 1
            Re: small batch program's I find and make enjoy from DeltaSpider
            « Reply #19 on: April 03, 2007, 02:25:13 AM »
            Here is some of the stuff cleaned up some!

            Never got the chance with the SET /P command yet!

            So let me know if anyone can add or help me out here on what im tring for. ;D

            [old attachment deleted by admin]

            WillyW



              Specialist
            • Thanked: 29
            • Experience: Experienced
            • OS: Windows XP
            Re: small batch program's I find and make enjoy from DeltaSpider
            « Reply #20 on: April 03, 2007, 07:57:23 AM »
            - - -
             How about this: Create a menu allowing users to pick any of those utilities from that menu. YouŽll need to know SET /P to do that. :)

            How about  choice.com ?
            :)


            CHOICE doesn't allow for string input, making its use limited.

            As in a free form response?     If so,  then yes.

            But in this example, as I understood it,  there is a fixed set of responses to choose from,  thus choice would work fine.


            Oh well ....   at least he has a choice  of methods.   {nyuk, nyuk, nyuk}
             :P
            .



            ghostdog74



              Specialist

              Thanked: 27
              Re: small batch program's I find and make enjoy from DeltaSpider
              « Reply #21 on: April 03, 2007, 09:01:08 AM »
              Quote
              How about  choice.com ?
              :)
              don't think choice.com is in newer win32 distribution. got to download from somewhere else i think

              Really?     If I'd ever learned that before,  I'd forgotten.
              Thanks.


              Are you using WinXP now?      can you do a all-over search and tell us if choice.com is found?


              And -  is it even downloadable?      Legit, I mean.


              here's some info
              and no, its not in XP.

              WillyW



                Specialist
              • Thanked: 29
              • Experience: Experienced
              • OS: Windows XP
              Re: small batch program's I find and make enjoy from DeltaSpider
              « Reply #22 on: April 03, 2007, 09:44:25 AM »
              here's some info


              Excellent!      I haven't read much of that yet, but what it is, is obvious.
              Thanks.

              I wonder if the admins here would like to add a link to that to
              http://www.computerhope.com/choicehl.htm   ?

              Quote
              and no, its not in XP.

              Thanks.       And now that I had a quick look at the above referenced link,  the answer was right there all along.   :)

              Thanks again.


              .



              DeltaSpider

                Topic Starter


                Greenhorn

              • When you stop tring you start dieing,DeltaSpider
              • Thanked: 1
                Re: small batch program's I find and make enjoy from DeltaSpider
                « Reply #23 on: April 04, 2007, 02:51:51 AM »
                oK HERE IS SOMETHING I WAS WORKING ON YESTERDAY ALITTLE

                THIS IS SOME USEAGE OF THE SET /P COMMAND EVERYONE WAS
                TALKING ABOUT I COPIED THE INFO FROM COMPUTER HOPE'S DOS
                OR BATCH SECTION FORGET WHICH ONE.....

                But as for the XP choice.com it's not on my system but,"I do have it"!

                Now I like the useage of "SET /P" BETTER !

                Download this and see how it look's  and work's for everyone !

                Haven't finished it yet, "maybe later today"! 


                [old attachment deleted by admin]

                DeltaSpider

                  Topic Starter


                  Greenhorn

                • When you stop tring you start dieing,DeltaSpider
                • Thanked: 1
                  Re: small batch program's I find and make enjoy from DeltaSpider
                  « Reply #24 on: April 04, 2007, 03:17:10 AM »
                  Hey  check out the Batch Conversion download's here at computerhope.com

                  That "autorunpro.exe" is very useful for making your own "setup.exe autorun from disk" file .....

                  Anyone know more on how to use it with more batch file command's
                  and such ?

                  I tried this today but the "Run3=WINHACKXP.BAT" line did not activate!

                  Just the first two line's worked!!

                  I was running the "autorunPro.exe" from inside of a folder in "MyDocument's" testing it that could have been part of the problem
                  since it's suppose to be an autorun for a "DISK" in drive D,E,F or one of the.

                  Don't know if it mattered  or not but the first line's activated their why wouldn't the batch program......WHAT AM I FORGETING ?????

                  [Autorun]
                  open=AutoRunPro.exe /s

                  [AutorunPro]
                  Run1=spiderman.gif
                  Run2="mailto:[email protected]?subject=Have a tip for you"
                  Run3=WINHACKXP.BAT


                  Dilbert

                  • Moderator


                  • Egghead

                  • Welcome to ComputerHope!
                  • Thanked: 44
                    Re: small batch program's I find and make enjoy from DeltaSpider
                    « Reply #25 on: April 04, 2007, 06:16:36 PM »
                    I did not know that CHOICE was not on an XP install... no wonder that part of the DOS tutorial failed three years ago. :)

                    I love SET /P for writing batch. I haven't used batch in so long, but it's relatively easy to get input and test on it:

                    Code: [Select]
                    :CHOICE
                    SET /P input = "Enter any string>"

                    IF /I "%input"=="StringOne" GOTO StringOne
                    REM Etc... etc...

                    I'm pretty sure I've made a syntactical error (like I said, it's been a while), but you get the idea. :)
                    "The geek shall inherit the Earth."

                    DeltaSpider

                      Topic Starter


                      Greenhorn

                    • When you stop tring you start dieing,DeltaSpider
                    • Thanked: 1
                      Re: small batch program's I find and make enjoy from DeltaSpider
                      « Reply #26 on: April 04, 2007, 08:15:44 PM »
                      I have noticed that alot of command's seem to vary in syntax and useage
                      from one computer manufactor to the next!

                      Some time's you have to download a fix or file to help make that command
                      useable in a batch program !

                      But.....when you make a .com or .exe file with "bat2exe" some of the
                      command's don't work correctly or echo's showup even with the
                      "@echo off" line in the beginning....still working on that one myself!

                      Yeah Dilbert that set /p stuff was better for me also.....look's less confusing

                      DeltaSpider

                        Topic Starter


                        Greenhorn

                      • When you stop tring you start dieing,DeltaSpider
                      • Thanked: 1
                        Re: small batch program's I find and make enjoy from DeltaSpider
                        « Reply #27 on: April 04, 2007, 08:42:56 PM »
                        I found some of  the other stuff that everyone and been writing about
                        batch file's and been triing to put them in order to see what I could come up with in batch!

                        So if anyone see's some part of code they have posted at one  time ..........don't
                        think that im triing to still your glory or something.....just look at it as you
                        have contributed to a quest of knowledge in batch programming.

                        Maybe together we will cover all question's to be asked on this subject
                        of batch so I and everyone else can move onto other language's to do
                        the same with them...

                        I myself have lot's of question's on stuff like how to moniter port's with
                        batch ...like when you install a program ...and want to see where all it
                        send's file's and stuff or register's DLL file's......

                        Basic software monitoring of the system type of stuff I guess it would be!

                        But anyway after this I need to learn more on ASM language and
                        how to workit with DOS debug command's....

                        Then tie into some C or C++ with ASM Lang. incorperated.......tried it one
                        time but it did not work the way it was suppose to and after several attemps I said later for that project when I learn some other stuff at a
                        lower level like DOS and BATCH !!!!!!!!!

                        Dilbert

                        • Moderator


                        • Egghead

                        • Welcome to ComputerHope!
                        • Thanked: 44
                          Re: small batch program's I find and make enjoy from DeltaSpider
                          « Reply #28 on: April 04, 2007, 08:56:41 PM »
                          Technically, DOS batch files aren't programming languages; they're interpreted languages. :)
                          "The geek shall inherit the Earth."

                          DeltaSpider

                            Topic Starter


                            Greenhorn

                          • When you stop tring you start dieing,DeltaSpider
                          • Thanked: 1
                            Re: small batch program's I find and make enjoy from DeltaSpider
                            « Reply #29 on: April 04, 2007, 09:30:13 PM »
                            Technically, DOS batch files aren't programming languages; they're interpreted languages. :)

                            Is this meaning that they are interpreted by the BIOS ,CMOS or something else........remember Dilbert I haven't been into this stuff until 3 year's ago!

                            And triing to understand quickly how it all work's together !

                            Here are some other thing's from today I was working on..checkit out!



                            [old attachment deleted by admin]