Possible docs bug - https://winscp.net/eng/docs/integration_putty
In this guide there is a command for kitty 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.
[/img]
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.[/code]
https://winscp.net/eng/docs/integration_putty
kitty.exe -cmd "cd ""!/"""
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:
Sigur Rós - Með suð í eyrum við spilum endalaust
Gives this error.

If I change the command to this it appears to fix the issue:
-cmd "cd '!/'"
I can now successfully launch kitty and cd into any directory I like included paths with spaces and or unicode characters.[/code]