Update Windows-cmd-shell-batch-scripting-cheat-sheet.adoc

This commit is contained in:
Yuri Slobodyanyuk
2022-09-01 22:33:01 +03:00
committed by GitHub
parent 1c2ae3e954
commit f9dd70fa97

View File

@@ -54,7 +54,7 @@ script, to let users know what the script is doing.
E.g. `echo The script was called as %0, with the %1 as the first argument` E.g. `echo The script was called as %0, with the %1 as the first argument`
|%* |%*
|The rest of the positional arguments after the 9th, not accessible directly, only after `SHIFT`-ing. |The rest of the positional arguments after the 9th altogether. The individual args are not accessible directly, use `SHIFT`-ing.
|*shift [/_n_]* |*shift [/_n_]*
|Shift positional arguments by one. If `/n` is given, will shift starting with n+1. E.g. `shift /4` will shift 5th to become 4th, |Shift positional arguments by one. If `/n` is given, will shift starting with n+1. E.g. `shift /4` will shift 5th to become 4th,