Topic "Since newest upgrade, Integration is not reading relative [local] paths"

Author Message
scupper_mcgee
[View user's profile]

Joined: 2014-07-16
Posts: 7
I have an install that I share across networks, so I have paths relatively in the INI file.

In versions previous to 5.7.4, I could have "..\PuTTY\putty.exe" as my Putty integration. Since new version, it tells me "Not found". It doesn't work even if I put "PuTTY\putty.exe" (so putty dir inside WinSCP).

What should I do now?
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
It works for me, both with ..\PuTTY\putty.exe and PuTTY\putty.exe.
Can you post a screenshot of the configuration, the error message and the Windows explorer with the executable?
Was this introduced in 5.7.4? Does it work with 5.7.3?
scupper_mcgee
[View user's profile]

Joined: 2014-07-16
Posts: 7
Yes, prior to 5.7.4 all was good!
Capture.PNG (24.97 KB)

Description: PuTTY subdirectory

Capture.PNG

Capture.PNG (44.96 KB)

Description: WinSCP executable

Capture.PNG

Capture.PNG (58.28 KB) [Download]

Description: Error message

scupper_mcgee
[View user's profile]

Joined: 2014-07-16
Posts: 7
Here are more images since there was a limit
Capture.PNG (59.16 KB) [Download]

Description: Config

martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
It's the forward slash. It won't work in any version this way. You have to use a backslash in Windows paths.
scupper_mcgee
[View user's profile]

Joined: 2014-07-16
Posts: 7
Still having issues... see attachment:
Capture.PNG (52.08 KB)

Description: (none)

Capture.PNG

martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
What is the error message? What is the path relative to?
scupper_mcgee
[View user's profile]

Joined: 2014-07-16
Posts: 7
Same thing before - the application "doesn't exist".

NP++ is in ......\apps\edit\Notepad++
WINSCP is in ......\apps\net\WinSCP

I mean my question is basic - I want to have the text editor in a relative path to WinSCP because I use cloud bsaed drives. This was never a problem in the past and now so many issues.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
Local paths in WinSCP are resolved relatively to WinSCP startup directory. Not to a directory where WinSCP.exe is.

To make a path relative to WinSCP.exe directory, use %WINSCP_PATH%.

In your case that is: %WINSCP_PATH%\..\edit\Notepad++\Notepad++.exe

It was always like this. Nothing has changed.

See https://winscp.net/eng/docs/local_path (note that this page didn't change ever since it was created in 2009 and the behavior is actually even older).
Advertisements

You can post new topics in this forum






Search Site

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