Why does Powershell not process a string correctly which has a dollar sign and a question mark?

后端 未结 0 482
旧巷少年郎
旧巷少年郎 2021-02-06 06:57

In PowerShell, why does this return nothing:

PS > $y = "$prid?api"
PS > echo $y

But these work better:

PS > $y          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题