Dir/a

Transkript

Dir/a
DOS KOMUTLARI
(DOS COMMANDS)
Joker karakterler(wildcards)
* : tek bir karakter de olabilir, bir karakter
katarı da olabilir. (It can be a single
character,it can also be a character string.)
? : sadece bir karakteri temsil eder. (It
represents only one character.)
cd/chdir
Cd\
cd..
Cd \okul\bolum
Kök dizin(root directory)
Bir üst dizin(parent directory)
Alt dizinler(sub directory)
md/mkdir
Md aa
Bulunulan klasöre yeni klasör
(a new folder inside the current folder)
Md aa\bb
Alttaki bir klasörün içine yeni klasör (aa yoksa
hem aa hem de bb oluşturulur)
(New folder inide the subfolder)
Yanlış: Md \aa\bb
rd/rmdir
rd aa
aa klasörünü siler(It deletes aa
folder)
Silmek istenen dizin tamamen boş
olmalıdır(directory that you want to delete must be
completely empty.)
(klasör ve dosya içermemelidir, gizli dosyalara
dikkat) Bir dizinin içindeyken o dizin silinemez. Bir
klasörün içinde sadece . ve .. görünüyorsa o klasör
boş demektir.(If it appears . Or .. in a folder, it is
empty.)
rd aa\bb
Bir alttaki bb klasörü silinir(A
subfolder bb will be deleted.)
Yanlış: rd \aa\bb
Deltree
Bir klasörü içindeki tüm alt klasör ve dosyalarla birlikte
siler.(This command deletes all subfolders and files
together in a folder.)
Deltree odevler
Not: Command Prompt bu komutu içermiyor.
dir
dir
Klasörün içindeki tüm dosya ve klasörler tarihi ve
boyutları ile birlikte görüntülenir. (all files and folders within the folder will
be displayed with the date and size)
dir/w Klasörün içindeki tüm dosya ve klasörler sadece isimleri ile
birlikte yanyana görüntülenir.(All files and folders in the folder are
displayed side by side with the names.)
dir/p
Klasörün içindeki tüm dosya ve klasörler tarihi ve boyutları ile
birlikte sayfa sayfa görüntülenir (Her sayfa için bir tuşa basmayı
gerektirir).(all files and folders within the folder in the folder ara displayed
following page with date and size)
dir/b Klasörün içindeki tüm dosya ve klasörler sadece isimleri ile
birlikte altalta görüntülenir.(All files and folders within the folder will be
displayed o one under the other with the names.)
dir/s
Klasörün içindeki ve tüm alt klasörlerdeki tüm dosya ve klasörler
ile ayrı ayrı başlıklar altında görüntülenir.(With all files and folders in the
folder and in all subfolders will appear under separate headings.)
dir
Dir/a:h
Sadece gizli dosyalar (only secret files)
Dir/a:-h
Sadece gizli olmayan dosyalar(Only
non-confidential files)
Dir/a:s
Sadece sistem dosyaları(only system
files)
Dir/a:-s
Sistem dosyaları dışında kalanlar(other
than system files)
Dir/a:d
Sadece klasörler(only folders)
Dir/a:-d
Sadece dosyalar (dizinler değil)(only
files)
Help: Tüm dos komutlarını bir arada görmeyi sağlar(This
command allows to see all the dos commands)
cls: Ekranı temizler(clear screen)
Exit: Dostan çıkışı sağlar
tree
Tree: İçinde bulunulan klasörün alt klasörlerini ağaç
yapısında şematik olarak görmeyi sağlar.(It makes it appear
schematically in the subfolders of the current folder in the
tree structure.)
Tree/f: İçinde bulunulan klasörün alt klasörlerini ve her
klasöürdeki dosyaları ağaç yapısında şematik olarak görmeyi
sağlar.(Inside each folder's subfolders and files in the current
folder it allows you to see the schematic tree structure.)
type/more
Type: Bir metin dosyasının içeriğini ekranda gösterir.(It will
display the contents of a text file.)
Type karar.txt
Type aa\bb\karar.txt
more: Dosyaları sayfa sayfa görüntülemeye yarar.(It allows
to see file pages.) Örn:
Type karar.txt | more
| için altgr ve – eksi tuşuna birlikte basın
copy
Bir klasördeki ya da ortamdaki dosya ya da dosyaları
başka bir klasör ya da ortama kopyalamayı sağlar.
(This command copies the files in a folder to another
folder.)
Copy veri.dat c:\okul
Copy *.* c:\okul
Copy *.txt c:\okul
Del/erase
Dosyaları silmek için kullanılır.(It deletes files.)
Del veri.dat
Del *.*
Del c:\test\ *.doc
tüm
Klasördeki tüm dosyalar silinir.
(Delete all files in the folder.)
Test klasöründeki doc uzantılı
Aslında silmez işaret koyar. Silinmiş bir dosyayı kurtarmak
için Undelete komutu kullanılır:(undelete command is used to
recover a deleted file.)
Undelete odev.doc
ren/rename
Dosyaların ismini değiştirmek için kullanılır.(It used to
change the name of the file.)
Ren veri.dat bilgi.dat
Ren *.dat *.txt
xcopy
Bir dizini altdizinleri ve içlerindeki dosyalar da dahil
olmak üzere bütünüyle kopyalamak için kullanılır. Bu
özelliğin çalışabilmesi için s parametresinin komut
sonuna eklenmesi gerekir. S parametresi kullanılmaz ise
sadece mevcut klasördeki dosyalar kopyalanır alt
dizinler kopyalanmaz.(This command is used to copy the
directory in its entirety. This feature needs to be added
s parameter to the end of the command to run. S
parameter is not used just copy the files in the current
folder, sub-directories are not copied)
Xcopy a:\odevler c:\odevler /s
move
Dosyaları başka adreslere taşımak için kullanılır.
(It moves files to another address.)
Move poligon1.doc, poligon2.doc c:\odevler