Windows XP dilengkapi dengan dua antarmuka untuk menjalankan VBScript dan (versi Microsoft JavaScript) JScript file. The default is a graphical user interface using Wscript.exe . Default adalah antarmuka pengguna grafis menggunakan Wscript.exe. However, there is also a command-line interface, Cscript.exe . Namun, ada juga antarmuka baris perintah, cscript.exe. It is often more convenient to use the command line for scripts and Windows XP actually comes with a number of useful scripts for system administration that need to be run from the command prompt. Hal ini sering lebih nyaman untuk menggunakan baris perintah untuk script dan Windows XP sebenarnya dilengkapi dengan sejumlah skrip yang berguna untuk administrasi sistem yang perlu dijalankan dari command prompt.
Configuring the command shell to run scripts Konfigurasi perintah shell untuk menjalankan script
Many scripts for computer management are more conveniently run from the command shell so that the user does not have to deal with the complications of windows and dialog boxes from the graphical user interface. Banyak script untuk manajemen komputer lebih mudah dijalankan dari perintah shell sehingga pengguna tidak harus berurusan dengan komplikasi dari jendela dan kotak dialog dari antarmuka pengguna grafis. It can be easier to handle output in a command window. Hal ini dapat lebih mudah untuk menangani output dalam jendela perintah. One way to run a script in the command line is to preface the script with the executable Cscript.exe . Salah satu cara untuk menjalankan script pada command line adalah untuk pengantar script dengan cscript.exe dieksekusi. For example, a statement of the form cscript.exe somescript.vbs can be entered into the command line and somescript.vbs will then run in the command window. Sebagai contoh, pernyataan dari bentuk cscript.exe somescript.vbs dapat dimasukkan ke command line dan somescript.vbs kemudian akan berjalan di jendela perintah. Note, however, that the fully qualified path must generally be used and pathnames with spaces must be enclosed in quotation marks. Catatan, bagaimanapun, bahwa jalan yang memenuhi syarat umumnya harus digunakan dan nama path dengan spasi harus diapit dalam tanda kutip. To make the script processor Cscript the default host for scripts, enter into the command line wscript //H:cscript Scripts can be then be run by simply entering into the command line somescript.vbs The default can be returned to the graphical interface with the command wscript //H:wscript Untuk membuat skrip cscript prosesor host default untuk script, masukkan ke dalam baris perintah wscript //H:cscript Script dapat kemudian dijalankan hanya dengan memasukkan ke dalam baris perintah somescript.vbs default dapat dikembalikan ke antarmuka grafis dengan perintah wscript //H:wscript
Some scripts that come with Windows XP Beberapa script yang datang dengan Windows XP
Tucked away in the folder \Windows\System32\ are some files in VBScript format that most PC users have never heard of. Tersimpan di folder \ Windows \ System32 \ beberapa file dalam format VBScript yang sebagian besar pengguna PC tidak pernah dengar. Also included with the two system tool packages discussed on other pages are some tools that are in the form of scripts. Juga termasuk dengan dua sistem alat paket dibahas pada halaman lain adalah beberapa alat yang dalam bentuk script. Some of these are really just for administrators but there are several that might be of use to the average PC owner. Beberapa benar-benar hanya untuk administrator tetapi ada beberapa yang mungkin berguna bagi pemilik PC rata-rata. They are listed below. Mereka terdaftar di bawah ini. More detail about these scripts is in the Windows XP Help and Support Center . Lebih detail tentang script ini adalah dalam Bantuan Windows XP dan Support Center. Running these scripts is easier if Cscript is made the default interface. Menjalankan skrip ini lebih mudah jika cscript dibuat antarmuka default.
Eventquery.vbs Eventquery.vbs
Lists the events and event properties from one or more event logs.Can be used with a filter to specify the types of events to include in or exclude from the query. Daftar peristiwa dan sifat acara dari satu atau lebih logs.Can acara digunakan dengan filter untuk menentukan jenis peristiwa untuk menyertakan atau mengecualikan dari dalam query.
Pagefileconfig.vbs Pagefileconfig.vbs
Enables an administrator to display and configure a system's paging file Virtual Memory settings Memungkinkan administrator untuk menampilkan dan mengkonfigurasi paging file sistem pengaturan Virtual Memory
Prncnfg.vbs Prncnfg.vbs
Configures or displays configuration information about a printer. Mengkonfigurasi atau menampilkan informasi konfigurasi tentang printer. Used without parameters, prncnfg.vbs displays command-line help. Digunakan tanpa parameter, prncnfg.vbs menampilkan baris perintah membantu.
Prndrvr.vbs Prndrvr.vbs
Adds, deletes, and lists printer drivers. Menambahkan, menghapus, dan daftar driver printer. Used without parameters, prndrvr.vbs displays command-line help. Digunakan tanpa parameter, prndrvr.vbs menampilkan baris perintah membantu.
Prnjobs.vbs Prnjobs.vbs
Pauses, resumes, cancels, and lists print jobs. Jeda, resume, membatalkan, dan pekerjaan daftar cetak. Used without parameters, prnjobs.vbs displays command-line help. Digunakan tanpa parameter, prnjobs.vbs menampilkan baris perintah membantu.
Prnmngr.vbs Prnmngr.vbs
Adds, deletes, and lists printers or printer connections, in addition to setting and displaying the default printer. Menambahkan, menghapus, dan daftar printer atau koneksi printer, di samping pengaturan dan menampilkan printer default. Used without parameters, prnmngr.vbs displays command-line help. Digunakan tanpa parameter, prnmngr.vbs menampilkan baris perintah membantu.
Prnport.vbs Prnport.vbs
Creates, deletes, and lists standard TCP/IP printer ports, in addition to displaying and changing port configuration. Membuat, menghapus, dan daftar standar TCP / IP port printer, selain menampilkan dan mengubah konfigurasi port. Used without parameters, prnport.vbs displays command-line help. Digunakan tanpa parameter, prnport.vbs menampilkan baris perintah membantu.
Prnqctl.vbs Prnqctl.vbs
Prints a test page, pauses or resumes a printer, and clears a printer queue. Mencetak halaman uji, jeda atau resume printer, dan membersihkan antrian printer. Used without parameters, prnqctl.vbs displays command-line help. Digunakan tanpa parameter, prnqctl.vbs menampilkan baris perintah membantu.Sumber : " Comand window .com "
Configuring the command shell to run scripts Konfigurasi perintah shell untuk menjalankan script
Many scripts for computer management are more conveniently run from the command shell so that the user does not have to deal with the complications of windows and dialog boxes from the graphical user interface. Banyak script untuk manajemen komputer lebih mudah dijalankan dari perintah shell sehingga pengguna tidak harus berurusan dengan komplikasi dari jendela dan kotak dialog dari antarmuka pengguna grafis. It can be easier to handle output in a command window. Hal ini dapat lebih mudah untuk menangani output dalam jendela perintah. One way to run a script in the command line is to preface the script with the executable Cscript.exe . Salah satu cara untuk menjalankan script pada command line adalah untuk pengantar script dengan cscript.exe dieksekusi. For example, a statement of the form cscript.exe somescript.vbs can be entered into the command line and somescript.vbs will then run in the command window. Sebagai contoh, pernyataan dari bentuk cscript.exe somescript.vbs dapat dimasukkan ke command line dan somescript.vbs kemudian akan berjalan di jendela perintah. Note, however, that the fully qualified path must generally be used and pathnames with spaces must be enclosed in quotation marks. Catatan, bagaimanapun, bahwa jalan yang memenuhi syarat umumnya harus digunakan dan nama path dengan spasi harus diapit dalam tanda kutip. To make the script processor Cscript the default host for scripts, enter into the command line wscript //H:cscript Scripts can be then be run by simply entering into the command line somescript.vbs The default can be returned to the graphical interface with the command wscript //H:wscript Untuk membuat skrip cscript prosesor host default untuk script, masukkan ke dalam baris perintah wscript //H:cscript Script dapat kemudian dijalankan hanya dengan memasukkan ke dalam baris perintah somescript.vbs default dapat dikembalikan ke antarmuka grafis dengan perintah wscript //H:wscript
Some scripts that come with Windows XP Beberapa script yang datang dengan Windows XP
Tucked away in the folder \Windows\System32\ are some files in VBScript format that most PC users have never heard of. Tersimpan di folder \ Windows \ System32 \ beberapa file dalam format VBScript yang sebagian besar pengguna PC tidak pernah dengar. Also included with the two system tool packages discussed on other pages are some tools that are in the form of scripts. Juga termasuk dengan dua sistem alat paket dibahas pada halaman lain adalah beberapa alat yang dalam bentuk script. Some of these are really just for administrators but there are several that might be of use to the average PC owner. Beberapa benar-benar hanya untuk administrator tetapi ada beberapa yang mungkin berguna bagi pemilik PC rata-rata. They are listed below. Mereka terdaftar di bawah ini. More detail about these scripts is in the Windows XP Help and Support Center . Lebih detail tentang script ini adalah dalam Bantuan Windows XP dan Support Center. Running these scripts is easier if Cscript is made the default interface. Menjalankan skrip ini lebih mudah jika cscript dibuat antarmuka default.
Eventquery.vbs Eventquery.vbs
Lists the events and event properties from one or more event logs.Can be used with a filter to specify the types of events to include in or exclude from the query. Daftar peristiwa dan sifat acara dari satu atau lebih logs.Can acara digunakan dengan filter untuk menentukan jenis peristiwa untuk menyertakan atau mengecualikan dari dalam query.
Pagefileconfig.vbs Pagefileconfig.vbs
Enables an administrator to display and configure a system's paging file Virtual Memory settings Memungkinkan administrator untuk menampilkan dan mengkonfigurasi paging file sistem pengaturan Virtual Memory
Prncnfg.vbs Prncnfg.vbs
Configures or displays configuration information about a printer. Mengkonfigurasi atau menampilkan informasi konfigurasi tentang printer. Used without parameters, prncnfg.vbs displays command-line help. Digunakan tanpa parameter, prncnfg.vbs menampilkan baris perintah membantu.
Prndrvr.vbs Prndrvr.vbs
Adds, deletes, and lists printer drivers. Menambahkan, menghapus, dan daftar driver printer. Used without parameters, prndrvr.vbs displays command-line help. Digunakan tanpa parameter, prndrvr.vbs menampilkan baris perintah membantu.
Prnjobs.vbs Prnjobs.vbs
Pauses, resumes, cancels, and lists print jobs. Jeda, resume, membatalkan, dan pekerjaan daftar cetak. Used without parameters, prnjobs.vbs displays command-line help. Digunakan tanpa parameter, prnjobs.vbs menampilkan baris perintah membantu.
Prnmngr.vbs Prnmngr.vbs
Adds, deletes, and lists printers or printer connections, in addition to setting and displaying the default printer. Menambahkan, menghapus, dan daftar printer atau koneksi printer, di samping pengaturan dan menampilkan printer default. Used without parameters, prnmngr.vbs displays command-line help. Digunakan tanpa parameter, prnmngr.vbs menampilkan baris perintah membantu.
Prnport.vbs Prnport.vbs
Creates, deletes, and lists standard TCP/IP printer ports, in addition to displaying and changing port configuration. Membuat, menghapus, dan daftar standar TCP / IP port printer, selain menampilkan dan mengubah konfigurasi port. Used without parameters, prnport.vbs displays command-line help. Digunakan tanpa parameter, prnport.vbs menampilkan baris perintah membantu.
Prnqctl.vbs Prnqctl.vbs
Prints a test page, pauses or resumes a printer, and clears a printer queue. Mencetak halaman uji, jeda atau resume printer, dan membersihkan antrian printer. Used without parameters, prnqctl.vbs displays command-line help. Digunakan tanpa parameter, prnqctl.vbs menampilkan baris perintah membantu.Sumber : " Comand window .com "
Tidak ada komentar:
Posting Komentar