Topic "Scripting - where to start?"

Author Message
[View user's profile]

Joined: 2014-06-25
Posts: 9
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.
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 27106
Location: Prague, Czechia
Martin Prikryl
[View user's profile]

Joined: 2014-06-25
Posts: 9
OK got it, thanks.

You can post new topics in this forum


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!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License