How to comment in bat file

broken image
broken image

Parameter Description%1The normal parameter.%~f1Expands %1 to a fully qualified pathname. The following table outlines how you can modify the passed parameter.

broken image
broken image

For example, in the batch file hello.bat, the following command hello %1 boy When you call a batch file, you can enter data after the command that the batch file refers to as %1, %2, etc.