3
Contributors
3
Replies
19
Views
3 Years
Discussion Span
Last Post by cuzintone
0

By the way which is a good website for learning tutorials about batch files for linux and windows

1

set /p is a set command with a 'prompt' flag fed to it, meaning that it will prompt the user for a value to set the variable to. Example (untested):

set /p "myvar=Enter a value: "
echo You said %myvar%

To answer your second question, check out DosTips.

Edited by Assembly Guy

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.