Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

cag8f

OK got it, thanks.
cag8f

Scripting - where to start?

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.