@echo off

REM #######################
REM # Set Object Value
REM #######################

SET filename=D:\temp\test.bat
SET RETURN_MSG=

REM #######################
REM # Check object exist
REM #######################

if exist %filename% goto FOUND
SET RETURN_MSG=MESSAGE: Object not found
goto NOTFOUDN

:FOUND
SET RETURN_MSG=MESSAGE: Object found
echo %RETURN_MSG%
goto EXITOUT

:NOTFOUDN
echo %RETURN_MSG%
goto EXITOUT

:EXITOUT

Popularity: 7% [?]

Want to work hard and play hard?
 Get Inside Story by E-Mail     Subscribe with Your Favorite Reader

Save To Del.icio.us | Digg This | Stumble It



Your Ad Here