Created
September 6, 2011 12:16
-
-
Save tyuki39/1197393 to your computer and use it in GitHub Desktop.
バッチファイルとシェルスクリプトの雑多な例5
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 | |
SET DUMMY=!X | |
IF NOT "%DUMMY%"=="X" ( | |
ECHO NEED "SETLOCAL ENABLEDELAYEDEXPANSION" | |
EXIT /B 1 | |
) |
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
return 1 |
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
CALL subfile.bat |
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
. subfile.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment