Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What Does (%*) mean in a batch for loop? [duplicate]

In the statement

FOR %%A IN (%*) DO Something

what does (%*) mean?

like image 548
Shubham Avatar asked Jun 14 '26 15:06

Shubham


1 Answers

It contains all arguments to the batch file. So this loops over each argument.

like image 156
Joey Avatar answered Jun 17 '26 19:06

Joey



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!