翻訳と辞書 |
DOSKEY
DOSKEY is a utility for DOS and Microsoft Windows that adds command history, macro functionality, and improved editing features to the command line interpreters COMMAND.COM and CMD.EXE . It was included as a TSR program with MS-DOS and PC DOS versions 5 and later, then Windows 9x, and finally Windows XP and later. In early 1989, functionality similar to DOSKEY was introduced with DR-DOS 3.40 with its HISTORY CONFIG.SYS directive. This enabled a user-configurable console input history buffer and recall as well as pattern search functionality on the console driver level, that is, fully integrated into the operating system and transparent to running applications. In the summer of 1991, DOSKEY was introduced in MS-DOS/PC DOS 5.0 in order to provide some of the same functionality. DOSKEY also added a macro expansion facility, though special support was required before applications such as command line processors could take advantage of it. Starting with Novell DOS 7 in 1993, the macro capabilities were provided by an external DOSKEY command as well. In order to also emulate DOSKEY's history buffer functionality under DR-DOS, the DR-DOS DOSKEY worked as a front end to the resident history buffer functionality, which remained part of the kernel. In current Windows NT-based operating systems, DOSKEY's functionality is built into CMD.EXE, although the DOSKEY command is still used to change its operation. ==Usage== DOSKEY allows the use of several command switches:
DOSKEY (... ) '' |Sets size of command history buffer to ''size''. |- !style="text-align: justify"|/MACROS |Displays all DOSKEY macros. |- !style="text-align: justify"| */MACROS:ALL |Displays all DOSKEY macros for all executables which have DOSKEY macros. |- !style="text-align: justify"| */MACROS:''(name )'' |Displays all DOSKEY macros for the given executable. |- !style="text-align: justify"|/HISTORY |Displays all commands stored in memory. |- !style="text-align: justify"|/INSERT |Specifies that new text typed is inserted in old text. |- !style="text-align: justify"|/OVERSTRIKE |Specifies that new text overwrites old text. |- !style="text-align: justify"|/EXENAME=exename |Specifies the executable. |- !style="text-align: justify"|/MACROFILE=filename |Specifies a file of macros to install. |- !style="text-align: justify"|/APPEDIT |(undocumented - since MS-DOS 7) |- !style="text-align: justify"|/COMMAND |(undocumented - since MS-DOS 7) |- !style="text-align: justify"|/PERMANENT |(undocumented - since MS-DOS 7) |- !style="text-align: justify"|/SCRSIZE |(undocumented - since MS-DOS 7) |- !style="text-align: justify"|/XHISTORY |(undocumented - since MS-DOS 7) |- !style="text-align: justify"|''()'' |Specifies a name for a macro created. |- !style="text-align: justify"|''()'' |Specifies commands to record. |} During a DOSKEY session, the following keyboard shortcuts can be used: DOSKEY implements support for command macros, a simple text-substitution facility which is used somewhat like command line aliases in other environments.
抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)』 ■ウィキペディアで「DOSKEY」の詳細全文を読む
スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース |
Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.
|
|