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

Advertisement

user564758
Joined:
Posts:
23

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.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,441
Location:
Prague, Czechia

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.

Reply with quote

Advertisement

You can post new topics in this forum