Because there is an essay type I said to quote this article, so have to come out, as you say "I go to eat excrement tomorrow", the result you did.
I'm just recording a bit about Windows prompt This is the variable, I don't know if this is a variable, because the Windows variable is not a
"%varibale%" like this, why it becomes "$X", as if you can not understand why the Linux variable is $x and set it terminal
When using \h,\u,\w (like the \1,\2 of a regular expression), why not unify it, hoping to know
Variable |
Meaning |
$b |
| (vertical bar) Vertical Line |
$e |
[ESC] |
$g |
> |
$h |
[Backspace] |
$I |
< |
$$ |
$ |
$_ |
[Enter] Line break |
$d |
Date Dates |
$n |
Drive driver Number |
$p |
Drive and Folder path |
$t |
Time |
$v |
Version number |
|
|
|
|
So above we used the $p $g, if you are accustomed to Linux tips can be used $$
If you set it to:%windir%\system32\cmd.exe/k c:&&prompt [$d $T]$_$p$$
Windows prompt personalize setting CMD hints related