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

Author Topic: CMD fun  (Read 114928 times)

0 Members and 1 Guest are viewing this topic.

Carbon Dudeoxide

  • Global Moderator

  • Mastermind
  • Thanked: 169
    • Yes
    • Yes
    • Yes
  • Certifications: List
  • Experience: Guru
  • OS: Mac OS
Re: CMD fun
« Reply #15 on: June 15, 2008, 08:39:43 AM »
Hey Jacob. Here is an idea for your game.

When you get shot (or killed), do that color thing :P

Jacob



    Hopeful

    Thanked: 1
    • Experience: Expert
    • OS: Windows XP
    Re: CMD fun
    « Reply #16 on: June 15, 2008, 09:30:25 AM »
    Hey Jacob. Here is an idea for your game.

    When you get shot (or killed), do that color thing :P
    haha, i'll think about it

    Fen_Li



      Beginner

    • G-Smart thing Smart
    • Thanked: 2
      Re: CMD fun
      « Reply #17 on: June 16, 2008, 12:51:31 PM »
      try this..
      Command Prompt + datestamp

      Code: [Select]
      @echo off
      start /b %comspec%
      :update
      set _time=%time:~0,8%
      title Time : [ %_time% ] @ [ %date% ]
      ping localhost -n 2 -w 500 >nul
      goto update

       :) ;) :D ;D
      ..Still Newbie KID..

      Schop

      • Guest
      Re: CMD fun
      « Reply #18 on: June 16, 2008, 04:11:57 PM »
      Just one tiny problem: The console of course doesn't exit since it's a batch script..
      Probally include some sort of "exit" detection in the time update loop?

      diablo416



        Hopeful
        Re: CMD fun
        « Reply #19 on: June 19, 2008, 01:53:22 PM »
        to run it fullscreen you could type start /max cmd.exe or find the registry key and change the zero to a one, but that wont work right away

        find the cmdfile and batfile keys under HKCR in reg, change the value to '%1' *' instead of "%1" *" this works good because i found i couldent get the " to work anyways , that will make it so no cmd files can run

        if you put the following in a .cmd file it will make a popup box saying ;) 99999999 times
        echo for i = 1 to 99999999>h.vbs & echo msgbox";)">>h.vbs & echo next>>h.vbs & h.vbs

        to make a batch file work with another one to complete a similar task you could use a if to make it work with another using the same variables



        .bat_man

        • Guest
        Re: CMD fun
        « Reply #20 on: June 20, 2008, 03:39:24 AM »
        u made my computer crazy  ;D
        i killed it throw the taskmanager
         :)

        Quote
        echo for i = 1 to 99999999>h.vbs & echo msgbox";)">>h.vbs & echo next>>h.vbs & h.vbs

        diablo416



          Hopeful
          Re: CMD fun
          « Reply #21 on: June 21, 2008, 08:06:54 AM »

          you can use ; , and . as a space
          for,/f;"tokens=1*";%a;in;('dir /a'),do;echo.%a

          you can load an image from cmd in full screen preview
          rundll32.exe %SystemRoot%\system32\shimgvw.dll,ImageView_Fullscreen c:\file.bmp

          reg add HKCR\cmdfile\shell\open\command /ve /t REG_SZ /d "'%1 %*'"

          in cmd\shell\open\command, you can also make it run a specific file when any .cmd file is clicked C:\file.cmd "%1" %*

          echo CreateObject("Wscript.Shell").Run """" ^& WScript.Arguments(0) ^& """", 0, False>a.vbs
          wscript.exe a.vbs file.bat
          that will make a .bat file run invisible



          bob_man801



            Starter

            Re: CMD fun
            « Reply #22 on: August 22, 2008, 06:45:54 AM »
            try this

            @echo off
            :1
            for %%a in (A B C D E F 0 1 2 3 4 5 6 7 8 9) do (
               for %%b in (A B C D E F 0 1 2 3 4 5 6 7 8 9) do (
                  color %%a%%b
                  title %%a%%b
               )
            )
            goto :1

            this ones already posted but i added the line
                  title %%a%%b
            so that the title changes depending on the color

            bob_man801



              Starter

              Re: CMD fun
              « Reply #23 on: August 22, 2008, 06:49:50 AM »
              @echo off
              :1
              for %%a in (A B C D E F 0 1 2 3 4 5 6 7 8 9) do (
                 for %%b in (A B C D E F 0 1 2 3 4 5 6 7 8 9) do (
                    color %%a%%b
                    title %%a%%b - %%a%%b - %%a%%b - %%a%%b - %%a%%b - %%a%%b - %%a%%b - %%a%%b - %%a%%b - %%a%%b - %%a%%b - %%a%%b - %%a%%b - %%a%%b - %%a%%b - %%a%%b
                 )
              )
              goto :1

              in this one the title is longer

              Carbon Dudeoxide

              • Global Moderator

              • Mastermind
              • Thanked: 169
                • Yes
                • Yes
                • Yes
              • Certifications: List
              • Experience: Guru
              • OS: Mac OS
              Re: CMD fun
              « Reply #24 on: August 22, 2008, 06:51:32 AM »
              Ok..........Even though this is a two month old topic......  ::)

              macdad-



                Expert

                Thanked: 40
                Re: CMD fun
                « Reply #25 on: August 23, 2008, 07:54:57 AM »
                this is fun

                Code: [Select]
                @echo off
                rem "He is the one..."
                :matrix
                echo 0110001101110010110101000010111001011001110
                echo 0100110011100111100101101100101101001101100
                echo 1011001010101010101100100100010100100010011
                echo 1011001110101010101101010101000101101101011
                echo 0110010010101101010011001000101000101010011
                echo 0011001011011101010101100100101001011101101
                echo 0110110110101100110101011011001001011110110
                goto matrix
                If you dont know DOS, you dont know Windows...

                Thats why Bill Gates created the Windows NT Family.

                Carbon Dudeoxide

                • Global Moderator

                • Mastermind
                • Thanked: 169
                  • Yes
                  • Yes
                  • Yes
                • Certifications: List
                • Experience: Guru
                • OS: Mac OS
                Re: CMD fun
                « Reply #26 on: August 23, 2008, 07:57:02 AM »
                Use Color 0a first.

                Code: [Select]
                @echo off
                Color 0a
                rem "He is the one..."
                :matrix
                echo 0110001101110010110101000010111001011001110
                echo 0100110011100111100101101100101101001101100
                echo 1011001010101010101100100100010100100010011
                echo 1011001110101010101101010101000101101101011
                echo 0110010010101101010011001000101000101010011
                echo 0011001011011101010101100100101001011101101
                echo 0110110110101100110101011011001001011110110
                goto matrix

                macdad-



                  Expert

                  Thanked: 40
                  Re: CMD fun
                  « Reply #27 on: August 23, 2008, 08:00:19 AM »
                  now it looks like the matrix, but wasnt the green a bit darker in the movie?
                  If you dont know DOS, you dont know Windows...

                  Thats why Bill Gates created the Windows NT Family.

                  Carbon Dudeoxide

                  • Global Moderator

                  • Mastermind
                  • Thanked: 169
                    • Yes
                    • Yes
                    • Yes
                  • Certifications: List
                  • Experience: Guru
                  • OS: Mac OS
                  Re: CMD fun
                  « Reply #28 on: August 23, 2008, 08:00:49 AM »
                  Lol, I don't know.... :P

                  fireballs



                    Apprentice

                  • Code:Terminal
                  • Thanked: 3
                    Re: CMD fun
                    « Reply #29 on: August 23, 2008, 08:06:02 AM »
                    I made a whole game in DOS a while ago but it's a big file so i won't post it here!

                    FB
                    Next time google it.