Possible docs bug - https://winscp.net/eng/docs/integration_putty
In this guide there is a command for PuTTY to cd in to the current dir.
https://winscp.net/eng/docs/integration_putty
This works fine until my path has Unicode characters.
It appears that when a path has these characters WinSCP wraps them in double quotes independently of the command which then breaks the command.
Using the command in this path:
Gives this error.
If I change the command to this it appears to fix the issue:
I can now successfully launch KiTTY and cd into any directory I like included paths with spaces and or Unicode characters.
https://winscp.net/eng/docs/integration_putty
kitty.exe -cmd "cd ""!/"""
It appears that when a path has these characters WinSCP wraps them in double quotes independently of the command which then breaks the command.
Using the command in this path:
Sigur Rós - Með suð í eyrum við spilum endalaust
If I change the command to this it appears to fix the issue:
-cmd "cd '!/'"