如何配置 PROMPT 以便 CMD 命令从下一个新行开始?
How to configure PROMPT such that CMD commands begin from the next new line?
我目前的 cmd
看起来像:
为此我做了类似的事情:
setx PROMPT $c$$$f-$g$s
但我想要这样的东西:
$ (MY CURRENT PATH <--> DATE) : Nothing here/ Blank
($) -> Command Goes here ...
我试过了:
setx PROMPT $$$s$c$p$s$l--$g$d$f$s:^
more? $c$$$f-$g$s
但遗憾的是它没有用。甚至可以这样做吗?
请不要建议使用其他终端,如 babun、git、bash on windows、hyper 等。我已经在使用所有这些终端了:)
见
PROMPT /?
$_ Carriage return and linefeed
...
But I want something like :
$ (MY CURRENT PATH <--> DATE) : Nothing here/ Blank
($) -> Command Goes here ...
prompt $$ $C$P $L--$G $D$F$_$C$$$F -$G
产生:
$ (C:\Windows\Temp <--> 2017-08-03)
($) -> █
我目前的 cmd
看起来像:
为此我做了类似的事情:
setx PROMPT $c$$$f-$g$s
但我想要这样的东西:
$ (MY CURRENT PATH <--> DATE) : Nothing here/ Blank
($) -> Command Goes here ...
我试过了:
setx PROMPT $$$s$c$p$s$l--$g$d$f$s:^
more? $c$$$f-$g$s
但遗憾的是它没有用。甚至可以这样做吗?
请不要建议使用其他终端,如 babun、git、bash on windows、hyper 等。我已经在使用所有这些终端了:)
见
PROMPT /?
$_ Carriage return and linefeed
...
But I want something like :
$ (MY CURRENT PATH <--> DATE) : Nothing here/ Blank ($) -> Command Goes here ...
prompt $$ $C$P $L--$G $D$F$_$C$$$F -$G
产生:
$ (C:\Windows\Temp <--> 2017-08-03)
($) -> █