启事本写代码,DOS下编译运行,装逼专用!

@echo off
rem 设置编译环境
if %1null==null goto :eof
if %1==nasm goto :nasm
if %1==php goto :php
if %1==gcc goto :gcc
echo fail

:nasm
set path=%path%;E:\sofe\windows\Program\nasm-2.11.06-win32\nasm-2.11.06
goto :end
:php
set path=%path%;e:\sofe\windows\Program\php-5.6.3-nts-Win32-VC11-x86
goto :end
:gcc
set gccpath=e:\sofe\windows\Program\MinGW32\MinGW32
set path=%path%;%gccpath%\Bin
set include=%include%;%gccpath%\Include
set lib=%include%;%gccpath%\Lib
goto end
:end
echo success
:eof