Differences

This shows you the differences between the selected revisions of the page.

2015-05-22 2018-11-11
grammar + it's unlikely that INI file cannot be created, not it falls back to profile folder (martin) Edward edited to add a needed ConfigurationIniFile setting and improve some text. (31.53.81.37)
Line 6: Line 6:
Portable executables are intended for advanced users and specific needs. For general use, use [[installation|installer]]. Portable executables are intended for advanced users and specific needs. For general use, use [[installation|installer]].
-On startup the Portable executable looks for an [[config|INI file]] in the directory from which it was started. The INI file must have an ''.ini'' extension and the same name as the executable. If the executable does not find any, it creates one with a default configuration. This allows you to easily carry WinSCP with your [[config|configuration]] on a removable media or an USB drive. For details, see [[config#auto|auto-selecting configuration storage]].+On startup, the Portable executable looks for an [[config|INI file]] in the directory from which it was started. The INI file must have an ''.ini'' extension and the same name as the executable. If the executable does not find any, it creates one with a default configuration. This allows you to easily carry WinSCP with your [[config|configuration]] on a removable media or a USB drive. For details, see [[config#auto|auto-selecting configuration storage]].
You may also use an INI file in a different folder or with a different name using an [[commandline|/ini switch]]. You may also use an INI file in a different folder or with a different name using an [[commandline|/ini switch]].
===== Full Portability ===== ===== Full Portability =====
-With default [[config|configuration]] WinSCP still stores some temporary data on the file system of the host computer. You can configure WinSCP to be completely portable though. I.e. make it store all its files and configuration in one place - a portable drive (such as USB drive).+With default [[config|configuration]] WinSCP still stores some temporary data on the file system of the host computer. You can configure WinSCP to be completely portable though, i.e. make it store all its files and configuration in one place - for example, a portable USB drive.
WinSCP stores by default these files to the host computer: WinSCP stores by default these files to the host computer:
Line 19: Line 19:
You can force WinSCP to store the files into different locations in [[ui_pref_storage|preferences]]. You can use [[local_path|local paths]] relative to the WinSCP start folder. You can force WinSCP to store the files into different locations in [[ui_pref_storage|preferences]]. You can use [[local_path|local paths]] relative to the WinSCP start folder.
-To change the storage directly in an INI file to the same location, where WinSCP is started from, set following parameters:+To change the storage directly in an INI file, to the same locations where WinSCP is started from, set following parameters (at end of that file):
<code ini> <code ini>
[Configuration\Interface] [Configuration\Interface]
RandomSeedFile=.\winscp.rnd RandomSeedFile=.\winscp.rnd
-DDTemporaryDirectory=.\+DDTemporaryDirectory=.\temp\ 
 +[Configuration\Usage\Values] 
 +ConfigurationIniFile=1
</code> </code>

Last modified: by 31.53.81.37