ini file location

Advertisement

Per Ason
Joined:
Posts:
1

ini file location

Hi, and thanks for the best file transfer app I have used (+20 years in development).

When it comes to the ini file location, where WinSCP looks in the application data directory of the user profile, i.e. C:\Users\%username%\AppData\Roaming\WinSCP.ini

May I ask if this could be altered (or extended) to cover also a folder named WinSCP, i.e. C:\Users\%username%\AppData\Roaming\WinSCP\WinSCP.ini

I would also appreciate if the default location of the winscp.rnd file were in the very same folder.

Am asking as I would like to not have stray files in the C:\Users\%username%\AppData\Roaming root folder.

BR, Per

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
29,266
Location:
Prague, Czechia

Re: ini file location

For INI file, see:
https://winscp.net/eng/docs/config#ini

In general, the INI file is intended for a portable use, where the INI file is stored along the .exe file. There's really no point using the INI file with an installed version.

You can however specify any path you want with the /ini command-line switch.
https://winscp.net/eng/docs/commandline#configuration

There's current no way to change the location of the .rnd file.

Reply with quote

AirBrain
Guest

.ini file merge or mutilple file use

Hi Martin,
is there a way to merge several winscp.ini files in order to uses all preset connection from multiple users?

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
29,266
Location:
Prague, Czechia

Re: .ini file merge or mutilple file use

AirBrain wrote:

Hi Martin,
is there a way to merge several winscp.ini files in order to uses all preset connection from multiple users?
That's quote broad question. How merge? Like an one time operation to obtain a merged INI file? Or do you want to load configuration from multiple sources every time you run winSCP.

Reply with quote

Advertisement

You can post new topics in this forum