Topic "run existing, working script from Korn"

Author Message
[View user's profile]

Joined: 2012-03-07
Posts: 1
Location: NL
Hi there,
is there a way to run a script that works (as a custom command) from a Korn Shell script, in any way?

i have a cleanup Korn Shell script that generates a archiveYYYYMMDD.gz file
i now copy it accross with a custom command, but it would be nice to kick off the custom command by running any (external) command to run the same script (custom command)

open "HOSTfromSessionList"
get /path/archive*.gz "A:\gZipFolder\"
custom command:
"C:\Program Files\WinSCP\" /script:a:\WinSCP\getACCgZipData.script
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26299
Location: Prague, Czechia
You have Korn shell on Windows?
Martin Prikryl

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!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License