Hello,
in $profile file i wrote the function below.
function gr {cd c:\users\user\documents\γραφειο}
When i'm running the fuction in powershell the outcome is,
PS C:\Users\User> gr
cd : Cannot find path 'C:\users\user\documents\Ξ³Οαφειο\' because it does not exist.
At C:\Users\User\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1:1 char:14
+ function gr {cd c:\users\user\documents\Ξ³Οαφειο}
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (C:\users\user\documents\Ξ³Οαφειο\:String) [Set-Location], ItemNot
FoundException
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.SetLocationCommand
PS C:\Users\User>
What can i do so that the Greek characters in path are correctly recognized?
I'm using windows 10 and windows terminal.