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

Author Message
user564758
[View user's profile]

Joined: 2014-04-20
Posts: 2
In this guide there is a command for kitty to cd in to the current dir.

https://winscp.net/eng/docs/integration_putty

Code:
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:

Code:
Sigur Rós - Með suð í eyrum við spilum endalaust


Gives this error.

[/img]

If I change the command to this it appears to fix the issue:

Code:
-cmd "cd '!/'"


I can now successfully launch kitty and cd into any directory I like included paths with spaces and or unicode characters.[/code]
martin◆
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26706
Location: Prague, Czechia
It's not the Unicode, but the space. But anyway, you are right.

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

You can post new topics in this forum

Search

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License