Mollien dot Net is IPv6 Enabled!

   My About.Me page
   View my profile on LinkedIn
   Follow me on Twitter
    View my Facebook profile   View my Hyves profile   View my YouTube favorites and uploads


IPv6 Certification Badge for Cas Mollien

CMD / Batch files
Taking User Input in a batch file
To take user input in a batch file without using external tools or programs, you can use TYPE CON in combination with FOR /F

Thanks to Rob van der Woude, who has an awesome site on scripting.


In Windows XP, an addition to the SET command can be used to do it even easier:

This will promt the user with:

Please enter your input: _

And drop the user input into a variable called %USERINPUT%.
Found this script/snippet useful? Please consider buying me a beer - or something else useful..

Terug naar Mollien Dot Net

Terug naar Mollien Dot Net

Terug naar Mollien Dot Net
Total Hits: 1
Unique Visitors: 1
Page Impressions : 1
Remote address: