Skip to main content

learning DOS

DOS is an old operating system that is rarely used anymore.

Here are some helpful hints in using DOS:

NOTE:

1) There is no difference between upper- and lower-case in DOS.

2) The "¿" symbol is shorthand, meaning to press the Enter key (also known as the "Return" key).

File Names

The filename is made up of two parts, a prefix and a suffix. For some versions of DOS (6.22 and older) each file is allowed up to 11 characters in its filename. The prefix uses eight characters and the suffix uses 3. The suffix usually tells you what kind of file it is. For example if the suffix is .TXT then you would know that it is a text file.

Other Examples

a. .DOC - Word Document

b. .XLS - Excel file

c. .WAV - Wave sound file

d. .JPG, .BMP, .GIF, and .TIF - graphics files

The 'C:\>' Prompt

Each drive is assigned a letter. The "C:" means that your hard drive, or C: drive, is currently selected. Usually the "C:" drive is the internal drive, or hard disk drive. The "A:" and "B:" drives are usually the external floppy drives. Some computers have only one floppy drive, "'A:."

To change drives simply type the letter of the drive you want to change to, add a colon at the end, and then press Enter. The part between the colon and the ">" tells you what directory that you are in. If it is just a backslash '\' then you are in the root, or main, directory. Anything after the backslash gives you the specific directory information. For example: "C:\DOS>" means that you are in the DOS directory on the 'C' drive. Click here for a tutorial on Folders and Directories.

Common DOS Commands

CD- change directory

CD \¿- change to the main directory.

CD \WINDOWS¿- change to the windows directory.

MD- make directory.

MD \LETTERS¿- make a directory named 'letters' at the root directory.

RD- remove directory.

RD \LETTERS¿- remove the 'letters' directory.

CLS- clear screen.

COPY- copy a file

Example:

COPY C:\

\ :\¿

Note: The first

is the source directory and the 2nd is the destination directory.
stands for the destination drive.
The second is the new filename, which is optional if you want to change the name of the file.
If you do not wish to change the filename, then simply type the second the same as the first.

MOVE- move a file from one directory to another.

DELETE- deletes a specific file.

DIR- gives you a list of files and directories contained in the directory that you are in.

DIR /W'- gives you a wide, more condensed directory list.

TYPE - displays the content of the specified file..

DOS Symbols

*- wild card symbol
Example: "COPY *.* A:\¿" This will copy all files in the current directory to the 'A' drive.

USAGE- "DELETE LETTER.*¿' This will delete all files with the prefix name 'letter' and any suffix.

?-wildcard character symbol

Example: MOVE LETTER?.TXT Move all files that start with the word "LETTER" and end with the word "TXT" to the destination you have specified.

Comments

Popular posts from this blog

SOAL UAS GANJIL 2011-2012 x dan kunci

PEMERINTAH KOTA PANGKALPINANG DINAS PENDIDIKAN SMA NEGERI 1 PANGKALPINANG Jl. Usman Ambon Pangkalpinang Telp(0717)421794 Fax.434047 Website: www.sman1-pkp.sch.id mail:sman1@Dinpendikpkp.go,id UJIAN AKHIR SEMESTER GANJIL TAHUN PELAJARAN 2011/2012 Mata Pelajaran         : Teknologi Informasi dan Komunikasi Kelas / Program       : X / Umum Hari / Tanggal           : Sabtu / 10 Desember 2011 Waktu                    : 90 Menit A.     Pilihlah Jawaban yang paling benar menurut Anda. 1 Input data yang dikenal oleh komputer adalah bilangan .... (a) desimal        (b) asli                 (c) bulat (d) Prima       ( e) biner 2 Pada era stabil perangkat lunak sudah dapat melakukan banyak proses secara serempak yang disebut dengan...... (a) Single

Daftar Blog Murid-Murid (Tugasnya)

Ditunggu alamat blog yang lain, karena masih banyak yang kosong dalam daftar ni....just waiting.....soon coba cari duit pake blog, daftar trus cari teman. http://billing.pasarinternet.com/aff.php?aff=114 Achmad Rosyidin  XI IPA 1 http://zidyin.blogspot.com  Agnes Lestyo Rini  XI IPA 1 http://noteofagnes.blogspot.com  Agustin  XI IPA 1  Anggi Sagita  XI IPA 1 anggi-sagita.blogspot.com  Anisah Adianti  XI IPA 1 http://guardianofmyself.wordpress.com  Annisa Kartikasari  XI IPA 1 http://annisaazhari.blogspot.com  Asmil Umaira  XI IPA 1  Aulia Rahmadini  XI IPA 1  Devita Lidya Wahyuningtyas  XI IPA 1  Dwi Ariyanti  XI IPA 1  Fajar Yulizar  XI IPA 1  Fatheh Alif Muhammad  XI IPA 1  Gunawan  XI IPA 1  Jashinta Kresna Senja  XI IPA 1 http://kresnasenja.blogspot.com/  Marlian Amri Setiawan  XI IPA 1 http://m

LKS 11 Pengolah Angka kelas XI

LKS 11 Sebuah perpustakaan yang berada di wilayah Bandung ingin membuat laporan peminjaman buku seperti tampak di bawah ini : a. Sebagai data masukan adalah : tgl proses, Batas waktu peminjaman, nomor urut, nama , kode buku dan tgl pinjam ketentuan soal: Kolom jenis buku diisi dengan menggunakan tabel di atas berdasarkan pada kode buku yang ada Kolom harus kembali diisi dengan tanggal pinjam ditambah dengan batas waktu pinjam Kolom terlambat diisi dengan tanggal proses dikurangi dengan tanggal harus kembali bila tanggal harus kembali lebih kecil dari tanggal proses Kolom denda diisi dengan denda perhari dikalikan dengan terlambat