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

Advertisement

scupper_mcgee
Joined:
Posts:
13

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

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?

Reply with quote

Advertisement

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

Re: Since newest upgrade, Integration is not reading relative [local] paths

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?

Reply with quote

martin
Site Admin
martin avatar

Re: Here they are, thanks

It's the forward slash. It won't work in any version this way. You have to use a backslash in Windows paths.

Reply with quote

Advertisement

scupper_mcgee
Joined:
Posts:
13

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.

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
41,469
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).

Reply with quote

Advertisement

You can post new topics in this forum