Jumat, 21 Mei 2010

Perintah Dasar DOS


Occasionally on your Windows computer, you may need to perform a procedure by typing in commands at the ' Command Prompt '. Kadang-kadang pada komputer Windows Anda, Anda mungkin perlu melakukan prosedur dengan mengetikkan perintah pada ' Command Prompt '. Entering commands in this way allows you to bypass the Windows graphical user interface and communicate directly with the operating system. Memasuki perintah dengan cara ini memungkinkan Anda untuk memotong antarmuka pengguna Windows grafis dan berkomunikasi langsung dengan sistem operasi. You are most likely to need to work in this way if you get an infection and have to disinfect your computer from the command line, for example, using one of the Sophos Resolve tools, or SAV32CLI or SWEEP.EXE . Anda kemungkinan besar perlu untuk bekerja dengan cara ini jika Anda mendapatkan infeksi dan harus menyucihamakan komputer Anda dari baris perintah, misalnya, menggunakan salah satu dari Sophos Putuskan alat, atau SAV32CLI atau SWEEP.EXE .
To communicate through the Windows command line, you will need to use MS-DOS commands. Untuk berkomunikasi melalui baris perintah Windows, Anda akan perlu menggunakan perintah MS-DOS. This article lists some basic DOS commands that you are likely to find useful when working from the command line, but there are many more available. Artikel ini daftar beberapa perintah-perintah dasar DOS bahwa Anda mungkin menemukan berguna ketika pekerjaan dari baris perintah, tetapi ada banyak lagi tersedia. To find out more about MS-DOS, consult a book, online dictionary or encyclopedia, or other specialist publication. Untuk mengetahui lebih lanjut tentang MS-DOS, berkonsultasi sebuah buku, publikasi online spesialis kamus atau ensiklopedia, atau lainnya.
Command and Usage Perintah dan Penggunaan Examples Contoh
ATTRIB
Change file attributes. Ubah atribut file. '+' adds an attribute, '-' removes it. '+' Menambahkan atribut, '-' menghapus itu. Attributes are: A=archive; R=read only; S=system; H=hidden. Atribut adalah: A arsip =; R = baca saja; S = sistem; H = tersembunyi.
ATTRIB -R -A -S -H
All these attributes will be removed from virus.exe. Semua atribut ini akan dihapus dari virus.exe.
C:
Go to the C: drive. Pergi ke C: drive. Similarly A: and D: etc. Demikian juga A: dan D: dll
C:
CD
Change directory. Ubah direktori. When you change directory, the prompt changes, showing the path of the directory you are currently in. Bila Anda mengubah direktori, prompt perubahan, menunjukkan jalur dari direktori Anda saat ini masuk
Note, directory is the term used by DOS for what Windows calls a folder. Catatan, direktori adalah istilah yang digunakan oleh DOS untuk apa panggilan folder Windows.
CD\ takes you to the top of the directory tree (typically to Csmile . CD\ membawa Anda ke puncak pohon direktori (biasanya ke Csmile. CD.. moves you one level up the directory tree (ie up towards the root directory). CD.. bergerak satu tingkat atas pohon direktori (yaitu sampai ke direktori root).
CD takes you to that directory. CD membawa Anda ke direktori tersebut. You can use one or more subdirectory names, separated by \ eg Anda dapat menggunakan nama satu atau lebih subdirektori, dipisahkan dengan \ misalnya
CD WINNT\Media takes you to the directory C:\WINNT\Media CD WINNT\Media membawa Anda ke direktori C: \ WINNT \ Media
To change to another path, type the full path with slashes. Untuk mengubah ke jalan lain, ketik lintasan penuh dengan garis miring. eg misalnya
CD \WINDOWS\SYSTEM
CLS
Clear the screen. Hapus layar.
CLS
DEL
Delete one or more files in the current directory. Menghapus satu atau lebih file dalam direktori saat ini. Can be used with the '*' and the '?' Dapat digunakan dengan '*' dan '? " wildcards. wildcard. DEL *.* will delete ALL files in the current directory, USE WITH CAUTION. DEL *.* akan menghapus SEMUA file di direktori saat ini, USE DENGAN PERHATIAN.
(Note: DEL cannot be used to delete directories. Use RD to remove a directory.) (Catatan: DEL tidak dapat digunakan untuk menghapus direktori Gunakan RD. Untuk menghapus direktori.)
DEL deletes virus.exe DEL menghapus virus.exe DEL *.JPG will delete all files with the extension JPG. DEL *.JPG akan menghapus semua file dengan ekstensi JPG.
DEL MY*.* will delete all files beginning with MY and with any extension. DEL MY*.* akan menghapus semua file yang dimulai dengan SAYA dan dengan ekstensi apapun.
DEL MY??.* will delete files that are 4 characters long and begin with MY and with any extension. DEL MY??.* akan menghapus file yang 4 karakter panjangnya dan mulai dengan SAYA dan dengan ekstensi apapun.
DIR
Displays the contents of a directory (folder). Menampilkan isi dari sebuah direktori (folder). Note, directory is the term used by DOS for what Windows calls a folder. Catatan, direktori adalah istilah yang digunakan oleh DOS untuk apa panggilan folder Windows.
These switches can be combined, so DIR /W /P will return multiple rows listing a page at a time. Switch ini dapat dikombinasikan, sehingga DIR /W /P akan kembali beberapa baris daftar halaman pada suatu waktu.
You can use the '*' and the '?' Anda dapat menggunakan * '' dan '? " wildcards to search for a particular file. wildcard untuk mencari file tertentu. The ? Itu? character represents ONE character, and the * character represents multiple characters. SATU mewakili karakter karakter, dan karakter * mewakili beberapa karakter.
DIR *.* lists all the files in a directory. DIR *.* daftar semua file dalam sebuah direktori.
DIR displays all files and folders in the current directory. DIR menampilkan semua file dan folder dalam direktori saat ini. Folders are indicated in the list by . Folder ditunjukkan dalam daftar oleh .
Files are usually listed by name. File biasanya terdaftar dengan nama.

DIR /P displays the contents a page at a time, ie as many as will fit in your command line window. DIR /P menampilkan isi halaman sekaligus, yaitu sebanyak muat di jendela baris perintah Anda. Press any key to display the next page. Tekan tombol apa saja untuk menampilkan halaman berikutnya.
DIR /W displays the files/folders in multiple rows. DIR /W menampilkan file / folder dalam beberapa baris. This view gives less information per file. Pandangan ini memberikan informasi kurang per file.
DIR *.JPG displays all files with the extension JPG in the current directory and all subdirectories. DIR *.JPG menampilkan semua file dengan ekstensi JPG dalam direktori saat ini dan semua subdirektori.
DIR MY??.* displays all files beginning with MY, exactly 4 characters long, and with any extension. DIR MY??.* menampilkan semua file yang dimulai dengan SAYA, tepat 4 karakter panjangnya, dan dengan ekstensi apapun.
DIR /S lists the contents of all subdirectories. DIR /S daftar isi semua subdirektori.
DIR /AH displays all hidden files. DIR /AH menampilkan semua berkas tersembunyi.
EDIT
Runs DOS EDIT (a simple text editor). Menjalankan DOS EDIT (editor teks sederhana). Useful for editing batch files and viewing logs. Berguna untuk mengedit file batch dan melihat log. This command requires QBASIC.EXE to be present. Perintah ini membutuhkan QBASIC.EXE untuk hadir.
EDIT opens the file viruslog.txt and allows you to edit it. EDIT viruslog.txt membuka file dan memungkinkan Anda untuk mengeditnya.
EDIT creates a new file called newfile.txt and opens it up for you to edit. EDIT menciptakan sebuah file baru bernama newfile.txt dan membukanya untuk Anda untuk mengedit.
HELP
Displays DOS Help. Menampilkan Bantuan DOS. For help on an individual command, type HELP then the command for which you want more information. Untuk bantuan pada perintah individu, ketik HELP maka perintah yang Anda ingin informasi lebih lanjut.
HELP DIR displays information on the DIR command. HELP DIR menampilkan informasi mengenai perintah DIR.
MD
Make directory. Membuat direktori. Creates a new directory below the current one. Membuat direktori baru di bawah satu saat ini. (The command can also be written as MKDIR ) (Perintah ini juga dapat ditulis sebagai MKDIR )
MD creates a new directory called Newdir. MD menciptakan sebuah direktori baru bernama Newdir.
PRINT
Prints the specified file (if the printer is supported in DOS - many are not). Mencetak file tertentu (jika printer didukung di DOS - banyak yang tidak).
PRINT
Prints LOGFILE.TXT Cetakan LOGFILE.TXT
RD
Remove directory. Hapus direktori. Removes a subdirectory of the current directory. Menghapus sebuah subdirektori dari direktori saat ini. The directory you want to remove must be empty of all files. Direktori yang ingin Anda hapus harus kosong dari semua file. (The command can also be written as RMDIR) (Perintah ini juga dapat ditulis sebagai rmdir)
RD
RENAME
Rename a file. Ubah nama file. You must use the full file name including the suffix. Anda harus menggunakan nama file lengkap termasuk akhiran.
RENAME
TYPE
Displays the contents of a file on the screen. Menampilkan isi dari sebuah file di layar. If you use this command on a file which is not a text file, the display will be unintelligible. Jika Anda menggunakan perintah ini pada file yang bukan file teks, layar akan dimengerti. Use with "|MORE" to display the text on a page by page basis, and prevent it scrolling off the screen. Gunakan dengan "|" MORE untuk menampilkan teks pada basis halaman demi halaman, dan mencegah bergulir dari layar. "|" is a pipe character. "|" Adalah karakter pipa.
TYPE C:\README.TXT|MORE
>
When you run a DOS command, output is usually sent to the screen. Bila Anda menjalankan perintah DOS, biasanya output dikirim ke layar. Use > to redirect output from the screen to a file. Gunakan> output untuk mengarahkan ulang dari layar untuk file. It runs the command preceding the >, creates a file in the current directory with the name you specify, and sends the information/output returned by the command, to that file. Ini menjalankan perintah sebelumnya> itu, membuat sebuah file dalam direktori dengan nama yang Anda tentukan, dan mengirimkan informasi / output dikembalikan oleh perintah, untuk file itu.
COMMAND > FILENAME.TXT
eg SWEEP > REPORT.TXT The details of any infected files reported by SWEEP are sent to a file called REPORT.TXT. misalnya menyapu> REPORT.TXT Rincian dari setiap file yang terinfeksi dilaporkan oleh Sweep akan dikirim ke file bernama REPORT.TXT.

Accessing the command prompt from Windows Mengakses prompt perintah dari Windows

To access the command prompt from Windows (a 'DOS box'), do as follows: Untuk mengakses perintah prompt dari Windows (sebuah 'kotak DOS'), lakukan sebagai berikut:
  1. At the taskbar, select Start|Run. Pada taskbar, pilih Start | Run.
  2. Type Jenis
    CMD
    or on some versions of Windows atau pada beberapa versi Windows
    COMMAND
  3. Click 'OK'. Klik 'OK'.
A command prompt will open. A command prompt akan terbuka.

Accessing the command prompt in safe mode Mengakses command prompt dalam safe mode

  • For Windows NT/2000/XP/2003, see the knowledgebase article on removing files with SAV32CLI . Untuk NT/2000/XP/2003 Windows, lihat artikel pengetahuan pada menghapus file dengan SAV32CLI .
  • For Windows 95/98/Me you can boot from a startup disk , or use MS DOS mode Untuk Windows 95/98/ME Anda dapat boot dari disk startup , atau menggunakan modus MS DOS
    1. At the taskbar, select Start|Shut dows. Pada taskbar, pilih Start | Shut dows.
    2. Select 'Restart in MS-DOS mode'. Pilih 'restart dalam modus MS-DOS ".
    3. Click 'OK'. Klik 'OK ".
If you need more information or guidance, then please contact technical support . Jika Anda memerlukan informasi lebih lanjut atau petunjuk, maka silakan hubungi dukungan teknis .

0 komentar:

Posting Komentar

Cari Blog Ini

Jangan dan dilarang bosen lihat blog ini... terima Kasih