Topic "external file with connection settings"

Author Message
cniry

Guest


hi,
how can I add my connections to taskbar of windows 7?

I create file "spojeni.scp", what I have asigned to opening in winSCP but when I tried to run it, winSCP say: Host not found.

spojeni.scp contain:
Code:

option batch on
option confirm off
open ftp://user:pass@multihost.cz


I know, that it can be opened in command line with winscp.exe /console /script=example.txt
But when I assigned file to opening in winscp, i think that Windows call it as: winscp.exe spojeni.scp


Thanks very much for reply. Sorry for my bad english Smile
cniry

Guest


At windows registry I edit key
HKEY_CLASSES_ROOT\Applications\WinSCP.exe\shell\open\command
Code:
"C:\Program Files\WinSCP\WinSCP.exe" /script="%1"


But it's doing nothink Sad

for test i edit key as:
Code:
"C:\Program Files\WinSCP\WinSCP.com" /script="%1"

and this work fine, but only in console
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24991
Location: Prague, Czechia
cniry wrote:
At windows registry I edit key
HKEY_CLASSES_ROOT\Applications\WinSCP.exe\shell\open\command
Code:
"C:\Program Files\WinSCP\WinSCP.exe" /script="%1"


But it's doing nothink Sad

It should do something, but hidden. Make sure to add /console switch to make the console visible.
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

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