Jumat, 25 November 2011

Daya menghapus dengan perintah diperluas "Del"

The delete command “del” now has a switch “/s” that provides for deletions in subfolders. Perintah menghapus "del" sekarang memiliki sebuah saklar "/ s" yang menyediakan untuk penghapusan dalam subfolder. Thus the command del /s myfolder\* will delete all files in myfolder and all files in any subfolders of myfolder . Jadi perintah del /s myfolder\* akan menghapus semua file dalam myfolder dan semua file dalam subfolder dari myfolder. Note the convenient asterisk wildcard “*”, which allows for multiple deletions in a single user operation. Perhatikan tanda bintang wildcard nyaman "*", yang memungkinkan untuk penghapusan beberapa dalam operasi single user. Together with the switch “/s”, a single “del” command can clean out Temp folders and do other useful housekeeping chores. Bersama dengan switch "/ s", satu "del" perintah dapat membersihkan folder Temp dan melakukan pekerjaan rumah tangga lainnya yang berguna. Another switch "/f" will force the deletion of read-only files. Lain beralih "/ f" akan memaksa penghapusan read-only file. If you are sure about what is being deleted, add the “/q” switch to run in quiet mode so you aren't asked if you really want to delete for every single file. Because of its power, this extended del command has to be used carefully. Jika Anda yakin tentang apa yang sedang dihapus, tambahkan "/ q" beralih untuk menjalankan dalam modus tenang sehingga Anda tidak ditanya apakah Anda benar-benar ingin menghapus untuk setiap file tunggal. Karena kekuasaan, ini perintah del diperpanjang harus digunakan dengan hati-hati. Any files deleted this way do not go into the Recycle Bin but are permanently removed. Setiap file yang dihapus dengan cara ini tidak masuk ke Recycle Bin tapi dihapus secara permanen.
To delete only files with a particular extension EXT, use the command del /s myfolder\*.ext Note that this command will delete all files of a particular type in a folder and all its subfolders. Untuk menghapus hanya file dengan ekstensi tertentu EXT, gunakan perintah del /s myfolder\*.ext Perhatikan bahwa perintah ini akan menghapus semua file dari jenis tertentu di folder dan semua subfolder-nya. One example of its use is to get rid of all temporary files with the extension TMP. Salah satu contoh penggunaannya adalah untuk menyingkirkan semua file-file sementara dengan ekstensi TMP.

Tidak ada komentar:

Posting Komentar

ads