What are the slashes with letters for – as seen in
set /p or
for /f etc?
migrated from stackoverflow.com May 3 '13 at 13:27
This question came from our site for professional and enthusiast programmers.
They are "command line switches", and you use them to give a command more information about what you want it to do.
For example, the
To find out information about a particular switch, you need to read the documentation for the command it relates to. For
The two commands you mention,
The slashes are parameters
If you want to know what parameter for, add "/?" in your command
For example :