Created
June 15, 2021 21:00
-
-
Save BlazerYoo/c2bbe4d02ae546f2735898e9e2b8e8d3 to your computer and use it in GitHub Desktop.
Get command line arguments in bash, batch, and powershell scripts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
echo %* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo $args |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo $@ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment