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

Author Topic: Cmd sleep command  (Read 3512 times)

0 Members and 1 Guest are viewing this topic.

V05112011

    Topic Starter


    Newbie

    • Experience: Beginner
    • OS: Unknown
    Cmd sleep command
    « on: August 17, 2011, 06:10:48 PM »
    Hey,
    I thought my problem felt under programming not sure if it rly does.
    Here is my story you need to know. Im making a program in note pad.
    The point of it is to anoy my friends for fun. My program i have is it sets the date to 05-11-2011 and the time to 13:37 further more it starts cmd multiple times lets say till infinity. This is where my problem starts. I want to be abel to make it stop. To pause it but i don't know how. I want it to be paused when i press the key "k" without having to press enter.

    Here is my code
    @echo off
    Date 05-11-2011
    Echo
    :elite
    Time 13:37
    Start C:\WINDOWS\system32\cmd.exe
    Goto elite

    I hope you would like to help me with this

    Best regards,
    V05112011
    « Last Edit: August 17, 2011, 06:23:47 PM by V05112011 »

    Salmon Trout

    • Guest
    Re: Cmd sleep command
    « Reply #1 on: August 18, 2011, 01:11:17 PM »
    When you joined this forum, you declared that you had read the rules and agreed to obey them. So why are you asking for help with a prank, which is not allowed?

    V05112011

      Topic Starter


      Newbie

      • Experience: Beginner
      • OS: Unknown
      Re: Cmd sleep command
      « Reply #2 on: August 22, 2011, 04:11:19 AM »
      Hmm who the .... Reads the terms of rules or shizzle... :/ well ty for letting me know and sorry for bothering you with this ^^

      Salmon Trout

      • Guest
      Re: Cmd sleep command
      « Reply #3 on: August 22, 2011, 05:34:04 AM »
      Hmm who the .... Reads the terms of rules or shizzle... :/

      You, if you want to stay here.

      Khasiar



        Intermediate

        Re: Cmd sleep command
        « Reply #4 on: September 15, 2011, 10:38:17 PM »
        Quote
        :elite
        Time 13:37
        Start C:\WINDOWS\system32\cmd.exe
        Goto elite

        i find the function name funny; elite... are you serious? go read a book