locked
The syntax of the command is incorrect. Yet it is correct RRS feed

  • Question

  • I am writing a bat file and I have the code:

    timeout /t 1 /nobreak > nul goto :confirm :confirm

    ...

    It is supposed to goto :confirm but it does not. I have the same code  template as I have later in the code which is working fine. 

    The line that is later in the code is:

    goto :confirm

    Please help me ASAP.

    Also I do not know what category this should go in.

    • Moved by Just Karl Monday, May 9, 2016 2:07 PM Looking for the correct forum.
    Monday, May 9, 2016 12:41 AM

Answers

All replies

  • Hello,

    The 'Academic Initiatives - General Discussions' forum is for any posts not covered under any of the other forums as related to Microsoft's Academic Initiatives.

    As it's off-topic here, I am moving the question to the Where is the forum for... forum.

    Karl


    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book: Windows PowerShell 2.0 Bible
    My E-mail: -join('6D73646E5F6B61726C406F75746C6F6F6B2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

    Monday, May 9, 2016 2:04 PM
  • Hello,

    I'd ask in The Official Scripting Guys Forum!

    Karl


    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book: Windows PowerShell 2.0 Bible
    My E-mail: -join('6D73646E5F6B61726C406F75746C6F6F6B2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

    Monday, May 9, 2016 2:07 PM