批處理指令碼 - PROMPT



此批處理命令可用於更改或重置cmd.exe提示。

語法

PROMPT [newpromptname]

示例

@echo off 
prompt myprompt$G

$G 是大於號,新增到提示符的結尾。

輸出

現在對使用者顯示的提示將是 myprompt >

batch_script_commands. htm
廣告