Topic "Configuration file in cloud"

Author Message
gregy1403
[View user's profile]

Joined: 2017-02-10
Posts: 1
I noticed that path to external Editor Notepad++ is also stored in configuration file. I have two different WIN systems with different path to editor. Now i have to edit it every day on every machine, since settings are stored in cloud. Tricky, ha? Shocked
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26553
Location: Prague, Czechia
Do you have a particular reason to have the editor installed to different folders or each machine?
Guest




martin wrote:
Do you have a particular reason to have the editor installed to different folders or each machine?


i don't have it, but Xp and WIN10 have different paths Smile
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26553
Location: Prague, Czechia
Can you be more specific? There was always Program Files, wasn't it? (except maybe on some non-English Windows XP installations, I remember that the path was localized, like C:\Programme on German installations).

In any case, you can use the ProgramFiles environment variable in the path to the editor:
https://winscp.net/eng/docs/local_path

And even if not (e.g. because of 32-bit vs. 64-bit differences), you can create your own environment variable.

Another option is to create a directory junction on the Windows 10 to mimic the Windows XP path.
Makc666
[View user's profile]

Joined: 2016-12-08
Posts: 52
Location: MSK-RU
martin wrote:
In any case, you can use the ProgramFiles environment variable in the path to the editor:
https://winscp.net/eng/docs/local_path


Like:
Code:
%ProgramFiles%\Notepad++\notepad++.exe
t=24525_01.png (8 KB)

Description: (none)

t=24525_01.png

martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26553
Location: Prague, Czechia
Makc666 wrote:
Like:
Code:
%ProgramFiles%\Notepad++\notepad++.exe

There should be double-quotes around, as there's typically a space in the %ProgramFiles%, like:

"%ProgramFiles%\Notepad++\notepad++.exe" !.!
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