강좌 제작 이야기

자동 실행 파일

카이루s 2010. 7. 12. 20:26

@echo off
title LINK
pushd %~dp0
:top
cls
echo.
echo.            
echo          1. RUN 1
echo.             
echo          2. Quit  
echo.
:_set
set _ok=
set /p _ok=.        Choose Number:
if "%_ok%" == "1" goto 1st
if "%_ok%" == "2" goto Quit
goto top

 

:1st
call 1st\RUN.exe

goto top

:Quit
cls
call Temp.exe
ping 127.0.0.1 -n 2 > nul
cls
exit

 

 

 

 

 

 

Temp.exe
0.11MB