Windows NT´Â
IF test (TrueCommand) ELSE (FalseCommand)¿Í °°Àº Çü½ÄÀ» Áö¿øÇÑ´Ù.
´ÙÀ½Àº °£´ÜÇÑ ¿¹ÀÌ´Ù.
if "%UserStatus%"=="µµ¿ÍÁà" (goto °í¸¶¿ö) else (goto MyHome)
´ÙÀ½Àº ¶Ç ´Ù¸¥ ¿¹ÀÌ´Ù.
if not exist c:\boot.ini (@echo don't reboot) else (shutdown.exe)