這些是我們在Windows中的標準。
下表描述了用於指示命令行語法的符號。
Notation Description
Text without brackets or braces
Items you must type as shown
<Text inside angle brackets>
Placeholder for which you must supply a value
[Text inside square brackets]
Optional items
{Text inside braces}
Set of required items; choose one
Vertical bar (|)
Separator for mutually exclusive items; choose one
Ellipsis (…)
Items that can be repeated
所以他們的v
一個可以
rar -v etc
rar -vt etc
rar -vb etc
從我的網站。注意\\
對於\
和\"
對於"
。這也是Windows 98.使用CMD.exe
而不是NT上的command.com
。
打印目錄列表
該註冊表文件將項目添加到右鍵菜單文件目錄打印或列出目錄中的所有文件或目錄。
將命令添加到上下文菜單以打印目錄列表。
REGEDIT4
[HKEY_CLASSES_ROOT\Directory\shell\Print\Command]
@="command.com /c dir \"%1\"> Prn
將命令添加到上下文菜單中以將目錄列表打印到桌面上的文件。
REGEDIT4
[HKEY_CLASSES_ROOT\Directory\shell\List\Command]
@="command.com /c dir \"%1\"> c:\\windows\\desktop\\Dirlist.txt"
單個>替換文件,而雙>添加到文件。列表的格式將由dircmd環境設置確定,或者在命令行中的dir之後添加開關。
類型Dir /?在MS-Dos提示窗口中查看選項。使用設置在任何CONFIG.SYS或命令來設置默認選項,即
Set DIRCMD=/a /v /l /4
如果使用DIRCMD環境變量的前綴它與一個連字符關閉。下一個reg文件僅打印沒有詳細(/ v)設置的目錄和子目錄。
REGEDIT4
[HKEY_CLASSES_ROOT\Directory\shell\Print Tree\Command]
@="command.com /c dir /-v /a:d /s \"%1\"> Prn