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

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 ...

Cara Meng-install Program

Cara Meng-install Program   Berikut ini adalah percakapan antara customer service dan pelanggan mengenai system programming komputer yang sering membuat masalah dalam keseharian seperti misalnya suka freezing sendiri ataupun reeboot sendiri.   Perhatikan percakapannya dan mudahan bermanfaat untuk menyelesaikan permasalahan programming di komputer masing-masing.   Customer Service (CS) : Ya, ada yang bisa saya ...

LKS 16 Concatenate,/if, vlookup, filter

Keterangan: Nomor tiket terdiri atas 3 karkater (x,y,z) ; dimana x:kode kereta,Y:kode nama kereta/kode kota asal, Z:kode kota tujuan Nama kereta diambil berdasarkan kode kereta dan nama kereta dari tabel (gunakan value) Jurusan gunakan fungsi vlookup mid dan right tabel kode wilayah Jam tiba didapat  dari jam berangkat ditambah dengan lama perjalanan. Dimana untuk kode 1 lamanya 4 jam kode 2 lamanya 7 jam dan kode 3 lamanya 9 jam . (gunakan timevalue) Jurusan didapat dari tabel berdasarkan kode asal dan kode tujuan ( gunakan fungsi concatenate) Harga tiket didapat dari perkalian antara jumlah tiket masing-masing dengan harga tiket satuan Jumlah bayar merupakan penjumlahan antara harga tiket dewasa dengan harga tiket anak-anak Tampilkan kelas bisnis saja Tampilkan kelas biasa dan excecutive Simpan dengan nama LKS-16