How to create a basic yes/no variable: 1 of 2

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
2,316
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jan 4, 2009

In this CMD/batch tutorial I will demonstrate how to create a basic yes/no variable.

Category:

Howto & Style

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (AceOfSpiders)

  • do i have to use /p?

  • @TheMarkk116 In this situation yes.

    set var=  Would change the value of var to something

    set /p var= Would prompt the user for input then set the value of var to what the user said

    set /a var= Would allow for maths functions e.g. set /a var=1+2

  • the cls is to clear the text before it right?

  • Yes that is correct.

    The command 'cls' clears the window of all previous echoed information.

  • no you can set what you want

  • No need to answer a question that i have already answered (look below bignarant's initial comment).

see all

All Comments (16)

Sign In or Sign Up now to post a comment!
  • here's the program i made :) hope you like it. "bit._ly/yesnoquiz (w/o underscore duh)"

  • @AceOfSpiders thanks :)

  • Ah I see. Lol when i mande one i put V infornt of all the wuestens like that, But I gusse I did nto need to.

    thanks.

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more