How to cancel MS-DOS command prompt

Solved
zigzage10 -  
Nabla's Posted messages 18201 Registration date   Status Contributor Last intervention   -
Hello everyone,

I am a beginner in using ms-dos, which I only use to schedule my computer to shut down at a specific time. But I sometimes make mistakes when entering the number of seconds, like entering "360" seconds instead of "3600", which results in my computer shutting down after 6 minutes instead of an hour :s

Therefore, I would like to know if there is a command that cancels the previous command, and if so, which one?

Thank you

Configuration: Windows 7 / Firefox 3.6.8

3 answers

  1. 3lio7 Posted messages 362 Registration date   Status Member Last intervention   109
     
    Celle qui annule l'extinction du PC est shutdown -a.
    0
  2. zigzage10
     
    Thank you very much!! Yes, it seems simple when you say it lol.

    Yes, I have already thought about creating a shortcut, but I keep changing the number of seconds.

    Thanks again!
    0
    1. Nabla's Posted messages 18201 Registration date   Status Contributor Last intervention   3 228
       
      I made two for when I want to sleep (depending on how tired I am) and I'm "watching" a series: 2000 and 3000 ...
      make at least one shortcut for shutdown -a.
      0
  3. Nabla's Posted messages 18201 Registration date   Status Contributor Last intervention   3 228
     
    yes, it's shutdown -a

    I recommend you create a shortcut on your desktop with your pre-registered command
    -1
    1. Nabla's Posted messages 18201 Registration date   Status Contributor Last intervention   3 228
       
      For your information, when you go to the command prompt (Start => Run => cmd), if you type shutdown (without parameters), you will get the list of options...
      0