Created
September 13, 2021 21:40
-
-
Save s-hiiragi/0c98755ac33fdbceff22146872a58ebb to your computer and use it in GitHub Desktop.
busybox-w32のパスを通すコマンド
This file contains hidden or 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 | |
| if "%~1" == "addpath" goto ADDPATH | |
| if "%~1" == "help" goto HELP | |
| if "%~1" == "-h" goto HELP | |
| if "%~1" == "--help" goto HELP | |
| if "%~1" == "/?" goto HELP | |
| if "%~1" == "-?" goto HELP | |
| goto :EOF | |
| :ADDPATH | |
| path C:\busybox-w32\bin;%PATH% | |
| goto :EOF | |
| :HELP | |
| echo usage: %~n0 [addpath ^| help] | |
| goto :EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment