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

Author Topic: if exit..  (Read 30813 times)

0 Members and 1 Guest are viewing this topic.

11victory11

    Topic Starter


    Rookie

    Re: if exit..
    « Reply #15 on: March 20, 2008, 04:06:27 PM »
    what that didn't work for me , when it got to the random part it just crashes on me.

    Dias de verano

    • Guest
    Re: if exit..
    « Reply #16 on: March 20, 2008, 04:35:41 PM »
    what that didn't work for me , when it got to the random part it just crashes on me.


    Code: [Select]
    set /a var=%random% %%4
                       ^
                       ^
                       ^
       needs a space here





    11victory11

      Topic Starter


      Rookie

      Re: if exit..
      « Reply #17 on: March 20, 2008, 04:43:11 PM »
      didn't work for me.

      Dias de verano

      • Guest
      Re: if exit..
      « Reply #18 on: March 20, 2008, 04:44:55 PM »
      What happened? You need to tell us more. Just saying "it didn't work" is not good enough if you want us to help you.

      By the way, could you spell 'sure' properly please?

      11victory11

        Topic Starter


        Rookie

        Re: if exit..
        « Reply #19 on: March 20, 2008, 04:49:28 PM »
        What happened? You need to tell us more. Just saying "it didn't work" is not good enough if you want us to help you.

        By the way, could you spell 'sure' properly please?

        the batch file just exits , the code you gave me didn't work.

        Sidewinder



          Guru

          Thanked: 139
        • Experience: Familiar
        • OS: Windows 10
        Re: if exit..
        « Reply #20 on: March 20, 2008, 05:32:10 PM »
        Are you running this batch file from the command prompt or are you double clicking it from Explorer? Until you have debugged your file, you should run from the command line so you can see how your code behaves.

         8)
        The true sign of intelligence is not knowledge but imagination.

        -- Albert Einstein

        11victory11

          Topic Starter


          Rookie

          Re: if exit..
          « Reply #21 on: March 20, 2008, 06:15:36 PM »
          i fixed it i had some problems with the goto stuff but its fixed now thanks for all the help really need it! ;D ;D ;D
          « Last Edit: March 20, 2008, 06:30:53 PM by 11victory11 »