Differences
This shows you the differences between the selected revisions of the page.
| 2015-02-08 | 2015-07-03 | ||
| custom ad (Petr) | KeePass 2.x has the placeholder variable {ENV_PROGRAMFILES_X86} for %ProgramFiles(x86)% if it exists, otherwise %ProgramFiles%. (87.123.134.243) | ||
| Line 21: | Line 21: | ||
| <code> | <code> | ||
| - | cmd://"%PROGRAMFILES(x86)%\WinSCP\WinSCP.exe" {BASE:SCM}://{USERNAME}:{PASSWORD}@{BASE:HOST}:{T-REPLACE-RX:/{BASE:PORT}/-1//} | + | cmd://"{ENV_PROGRAMFILES_X86}\WinSCP\WinSCP.exe" {BASE:SCM}://{USERNAME}:{PASSWORD}@{BASE:HOST}:{T-REPLACE-RX:/{BASE:PORT}/-1//} |
| </code> | </code> | ||
| - | |||
| - | On 32-bit systems, replace ''%PROGRAMFILES(x86)%'' with ''%PROGRAMFILES%''. &winpath &win32 | ||
| The ''%%{T-REPLACE-RX:/{BASE:PORT}/-1//}%%'' is a workaround for KeePass resolving the ''{BASE:PORT}'' placeholder to ''-1'', when a password entry //%%URL%%// field does not specify the port explicitly and KeePass does not know the protocol (such as ''sftp'') to substitute a standard port. | The ''%%{T-REPLACE-RX:/{BASE:PORT}/-1//}%%'' is a workaround for KeePass resolving the ''{BASE:PORT}'' placeholder to ''-1'', when a password entry //%%URL%%// field does not specify the port explicitly and KeePass does not know the protocol (such as ''sftp'') to substitute a standard port. | ||