• DOS (siri 3)

    Latihan ni aku petik dari satu tutorial aku untuk pelajar modul Diagnosis

    Ok2. katakan soalannya cam ni:
    ___________________________________
    1. bina folder ujidos1

    2. buka (masuk) folder Windows (c:\windows)
    3. salin (copy) fail-fail jenis bitmap (.bmp - fail gambar) dalam folder Windows (c:\windows\*.bmp) ke dalam folder ujidos1 (c:\ujidos1)
    4. Keluar semula ke drive c:
    5. ubah nama ujidos1 kepada dostest1
    6. masuk ke dalam folder dostest1 (c:\dostest1)
    7. bina folder gambar (c:\dostest1\gambar)
    8. pindahkan semua fail bitmap yang ada dalam dostest1 (c:\dostest1\*.bmp) ke folder gambar tadi (c:\dostest1\gambar)
    9. keluar ke drive c:
    10. bina folder 02Mei08
    11. pindahkan folder dostest1 (c:\dostest1) ke dalam folder 02Mei08 tadi (c:\02Mei08)
    12. paparkan hasil kerja (c:\02Mei08) dalam bentuk gambarajah pepokok (tree)


    ----------------------------------
    Jawapan:
    1) -------------------------------

    C:\Documents and Settings\Syamsul.MSA-PERSONAL>cd\
    C:\>md ujidos1
    2) -------------
    C:\>cd windows
    3) -----------------------------
    C:\WINDOWS>copy *.bmp c:\ujidos1
    Blue Lace 16.bmp
    Coffee Bean.bmp
    FeatherTexture.bmp
    Gone Fishing.bmp
    Greenstone.bmp
    Prairie Wind.bmp
    Rhododendron.bmp
    River Sumida.bmp
    Santa Fe Stucco.bmp
    Soap Bubbles.bmp
    Zapotec.bmp 11 file(s) copied.
    4) -------------
    C:\WINDOWS>cd\
    5) -------------
    C:\>ren ujidos1 dostest1
    6) -------------
    C:\>cd dostest1
    7) -------------
    C:\dostest1>md gambar
    8) ----------------------------
    C:\dostest1>move *.bmp gambar
    C:\dostest1\Blue Lace 16.bmp
    C:\dostest1\Coffee Bean.bmp
    C:\dostest1\FeatherTexture.bmp
    C:\dostest1\Gone Fishing.bmp
    C:\dostest1\Greenstone.bmp
    C:\dostest1\Prairie Wind.bmp
    C:\dostest1\Rhododendron.bmp
    C:\dostest1\River Sumida.bmp
    C:\dostest1\Santa Fe Stucco.bmp
    C:\dostest1\Soap Bubbles.bmp
    C:\dostest1\Zapotec.bmp
    9) -------------
    C:\dostest1>cd\
    10) -------------
    C:\>md 02Mei08
    11) -------------
    C:\>move dostest1 02Mei08
    12) ------------------------------
    C:\>tree /f 02Mei08
    Folder PATH listing for volume XXX
    Volume serial number is XXXX-XXXX
    C:\02Mei08
    +---dostest1
    +---gambar
    Blue Lace 16.bmp
    Coffee Bean.bmp
    FeatherTexture.bmp
    Gone Fishing.bmp
    Greenstone.bmp
    Prairie Wind.bmp
    Rhododendron.bmp
    River Sumida.bmp
    Santa Fe Stucco.bmp
    Soap Bubbles.bmp
    Zapotec.bmp
    C:\>

0 ulasan:

Leave a Reply

Blog Widget by LinkWithin

Komen Terkini!

Photos

Saya bukan pakar. Tapi jika ada pertanyaan, kongsi la kat sini:


Komuniti