does it help?
$path = "C:\Users\My Name\path\to\azd-prepackage"
$shortPath = (Get-Item $path).FullName
Write-Output $shortPath
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I'm running an azd-deploy script on Windows 11 in VSCode, but it's not able to find the azd-prepackage script because it's looking for it in the shortened path "User/MyName~1" instead of the full path "User/My Name". How can I change the file path to fix this problem?
does it help?
$path = "C:\Users\My Name\path\to\azd-prepackage"
$shortPath = (Get-Item $path).FullName
Write-Output $shortPath