Easy Snippet

Showing posts with label bat. Show all posts
Showing posts with label bat. Show all posts

Tuesday, August 20, 2013

Get user input from DOS prompt

Very basic example to get user input from DOS prompt

@ECHO OFF
SET /P yourname=Name :
echo hello, %yourname%
pause


source : http://www.codeproject.com/Tips/123810/Get-user-input-from-DOS-prompt
Posted by Julius Prayogo at 7:18 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: bat, batch script, cmd, DOS command, windows command line
Older Posts Home
Subscribe to: Posts (Atom)

Pages

  • About

Blog Archive

  • ▼  2019 (4)
    • ▼  December (3)
      • Python3 connect to Microsof SQL Server
      • How to start ubuntu in command line interface
      • Can not change table structure in SQL server manag...
    • ►  April (1)
  • ►  2018 (2)
    • ►  July (1)
    • ►  May (1)
  • ►  2017 (3)
    • ►  June (1)
    • ►  April (1)
    • ►  January (1)
  • ►  2016 (3)
    • ►  August (1)
    • ►  March (1)
    • ►  January (1)
  • ►  2015 (8)
    • ►  November (1)
    • ►  August (1)
    • ►  July (1)
    • ►  June (3)
    • ►  May (2)
  • ►  2014 (10)
    • ►  October (3)
    • ►  July (2)
    • ►  June (2)
    • ►  May (1)
    • ►  April (1)
    • ►  February (1)
  • ►  2013 (10)
    • ►  December (1)
    • ►  October (2)
    • ►  September (2)
    • ►  August (3)
    • ►  June (2)

About Me

My photo
Julius Prayogo
View my complete profile
Simple theme. Theme images by luoman. Powered by Blogger.