Sabtu, 12 Juni 2010

serach color with batch file programming


Sometimes when you create a program with a batch file you would need a color background and writings ...but, God willing, with this program, we can look for colors with easy and fast ...
ok follow STEP 2 follows ...
1.open notepad2.copy - paste this script into notepad debawah
   
store under the name "apasaja.bat" (without quotation marks)

@echo off 
color 7
title muhammadchandra.blogspot.com
mode 70,32
:start 
echo TULISAN                         BACKGROUND
echo.
echo ========================        ==========================
echo = warna tulisan = code =        =warna background = code =
echo ========================        ==========================
echo =  hitam-----------(0) =        = biru -------------(10) =
echo =  biru------------(1) =        = hijau ------------(20) =
echo =  hijau-----------(2) =        = biru laut --------(30) =
echo =  akua------------(3) =        = merah ------------(40) =
echo =  merah ----------(4) =        = ungu -------------(50) =
echo =  purple----------(5) =        = coklat -----------(60) =
echo =  kuning----------(6) =        = abu-abu muda -----(70) =
echo =  putih ----------(7) =        = abu-abu tua ------(80) = 
echo =  Abu2  ----------(8) =        = biru (blu screen)-(90) =
echo =  biru metalik ---(9) =        = putih ------------(f0) =       
echo =  hijau metalik---(a) =        ==========================
echo =  aQua metalik ---(b) =
echo =  merah metalik---(c) =
echo =  ungu metalik ---(d) =
echo =  kuning metalik -(e) =
echo =  putih metalik --(F) =
echo ========================
echo.
echo ============================================
echo = masukkan angka warna [ingat]:hanya angka =
echo ============================================
echo.
set /p warna= angka ?: 
cls
if %warna%==%warna% color %warna%
goto:start

1 komentar:

  1. ass...mas mintak email ya....saya masih bodoh dalam hal internet....saya mau taya kalo program batch mau dijadikan exe gimana ya maaaas......tolong ya
    thomas.ahmadi@gmail.com
    makash

    BalasHapus