Archive

Archive for the ‘Lain-Lain’ Category

Instruksi SHARE


Tujuan :

Meningkatkan kemampuan kerja dari media disk dan mengaktifkan pemakaian file-sharing.

Bentuk :

share [/f:s][/l:l]

Uraian :

  • [/f:s] untuk alokasi ruang untuk file yang dapat dipakai bersama.
  • [/l:l] untuk jumlah file yang dikunci pada suatu saatnya.
Advertisements
Categories: Lain-Lain

Instruksi FASTOPEN


Tujuan :

Mempersingkat waktu proses pemakaian rutin file di suatu directory.

Bentuk :

fastopen d:[[=]n][/x]

Uraian :

  • d: untuk drive yang akan dikontrol pemakaiannya.
  • [n] untuk maksimal jumlah file yang dikontrol.
  • [/x] untuk memakai expanded memory sebagai tempat proses.
Categories: Lain-Lain

Instruksi SORT


SORT [/R] [/+n] [/M kilobytes] [/L locale] [/REC recordbytes] [[drive1:][path1]filename1] [/T [drive2:][path2]] [/O [drive3:][path3]filename3]

  • /+n – Specifies the character number, n, to begin each comparison. /+3 indicates that each comparison should begin at the 3rd character in each line. Lines with fewer than n characters collate before other lines. By default comparisons start at the first character in each line.
  • /L[OCALE] locale – Overrides the system default locale with the specified one. The “”C”” locale yields the fastest collating sequence and is currently the only alternative. The sort is always case insensitive.
  • /M[EMORY] kilobytes – Specifies amount of main memory to use for the sort, in kilobytes. The memory size is always constrained to be a minimum of 160 kilobytes. If the memory size is specified the exact amount will be used for the sort, regardless of how much main memory is available.
    The best performance is usually achieved by not specifying a memory size. By default the sort will be done with one pass (no temporary file) if it fits in the default maximum memory size, otherwise the sort will be done in two passes (with the partially sorted data being stored in a temporary file) such that the amounts of memory used for both the sort and merge passes are equal. The default maximum memory size is 90% of available main memory if both the input and output are files, and 45% of main memory otherwise.
  • /REC[ORD_MAXIMUM] – characters Specifies the maximum number of characters in a record (default 4096, maximum 65535).
  • /R[EVERSE] – Reverses the sort order; that is, sorts Z to A, then 9 to 0.
  • [drive1:][path1]filename1 – Specifies the file to be sorted. If not specified, the standard input is sorted. Specifying the input file is faster than redirecting the same file as standard input.
  • /T[EMPORARY][drive2:][path2] – Specifies the path of the directory to hold the sort’s working storage, in case the data does not fit in main memory. The default is to use the system temporary directory. Read more…
Categories: Lain-Lain

Instruksi MORE


Displays output one screen at a time.

MORE [/E [/C] [/P] [/S] [/Tn] [+n]] < [drive:][path]filename
command-name | MORE [/E [/C] [/P] [/S] [/Tn] [+n]]
MORE /E [/C] [/P] [/S] [/Tn] [+n] [files]

  • [drive:][path]filename – Specifies a file to display one screen at a time.
  • command-name – Specifies a command whose output will be displayed.
  • /E – Enable extended features
  • /C – Clear screen before displaying page
  • /P – Expand FormFeed characters
  • /S – Squeeze multiple blank lines into a single line
  • /Tn – Expand tabs to n spaces (default 8)
  • Switches can be present in the MORE environment variable.
  • +n – Start displaying the first file at line n
  • files – List of files to be displayed. Files in the list are separated by blanks.
  • If extended features are enabled, the following commands are accepted at the — More — prompt:
  • P n – Display next n lines Read more…
Categories: Lain-Lain

Instruksi FIND


Searches for a text string in a file or files.

FIND [/V] [/C] [/N] [/I] [/OFF[LINE]] “string” [[drive:][path]filename[ …]]

  • /V – Displays all lines NOT containing the specified string.
  • /C – Displays only the count of lines containing the string.
  • /N – Displays line numbers with the displayed lines.
  • /I – Ignores the case of characters when searching for the string.
  • /OFF[LINE] – Do not skip files with offline attribute set.
  • “string” – Specifies the text string to find.
  • [drive:][path]filename – Specifies a file or files to search.

If a path is not specified, FIND searches the text typed at the prompt or piped from another command.

Categories: Lain-Lain

Instruksi Filter


Instruksi filter merupakan bagian dari instruksi eksternal DOS. Instruksi ini memiliki hal khusus yaitu mampu menyaring data masukan (input) sehingga menghasilkan keluaran informasi (output) yang sesuai dengan kriteria yang diinginkan.

Pada sistem operasi DOS versi 5.0 terdapat 3 instruksi filter yaitu instruksi eksternal find, more, dan sort. Karena bentuknya sebagai instruksi eksternal, implementasinya juga seperti instruksi eksternal lainnya yaitu memerlukan file yang sesuai.

Tanpa memberikan lokasi disk dan directory letak isntruksi, sistem akan mencari kle daftar jejak serta default disk dan directory. Tanpa file yang bersangkutan di directory dan disk default atau yang berada di daftar, Anda tidak dapat memakai instruksi eksternal tersebut.

Lokasi output dari semua instruksi filter dapat berupa nama peralatan untuk menampilkan (mencetak) output pada suatu peralatan yang bersangkutan.

Categories: Lain-Lain
%d bloggers like this: