Topic "Scripting - where to start?"

Author Message
cag8f
[View user's profile]

Joined: 2014-06-25
Posts: 4
Hi all. First post here. I'm trying to get started with scripting in WinSCP. I'd like to execute a simple script that prints 'hello world' as an output. How do I get started doing this? I'm reasonably sure the syntax is:

echo "hello world"

(correct me if I'm wrong)

But, where exactly do I enter that? I'm using WinSCP v.5.5.4. When I enter that into the Command $ prompt at the bottom of my WinSCP window, I get the message "Unknown Command." When I press the "Open terminal" button and enter my code there, I get the same error message. Do I have to open a Windows command prompt and begin a session manually there? If so, how exactly do I do this?

Thanks in advance.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
See https://winscp.net/eng/docs/scripting#using_scripting
_________________
Martin Prikryl
cag8f
[View user's profile]

Joined: 2014-06-25
Posts: 4
OK got it, thanks.
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