How do I do the bash equvalent of $PROGPATH/program in Powershell?
问题 In GNU/Linux I would do: PROGPATH=/long/and/complicated/path/to/some/bin $PROGPATH/program args... but in Powershell if I try this: $PROGPATH=\long\and\complicated\path\to\some\bin $PROGPATH\program args... I get: At script.ps1:2 char:... + $PROGPATH\program args ... + ~~~~~~~~ Unexpected token '\program' in expression or statement. + CategoryInfo : ParserError: (:) [], ParseException + FullyQualifiedErrorId : UnexpectedToken So how do I do this simple thing I know how to do in bash, in