Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: Possible docs bug - https://winscp.net/eng/docs/integration_putty

It's not the Unicode, but the space. But anyway, you are right.

I have edited the documentation. Thanks for your post.
user564758

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
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.