Skip to content

Instantly share code, notes, and snippets.

@s-hiiragi
Created September 13, 2021 21:40
Show Gist options
  • Select an option

  • Save s-hiiragi/0c98755ac33fdbceff22146872a58ebb to your computer and use it in GitHub Desktop.

Select an option

Save s-hiiragi/0c98755ac33fdbceff22146872a58ebb to your computer and use it in GitHub Desktop.
busybox-w32のパスを通すコマンド
@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