Topic "Download and open a file created by Custom Command"

Author Message
[View user's profile]

Joined: 2011-04-20
Posts: 1
Location: UK

This is probably an easy one but I can't find any related answers on the forum. I have a custom command which creates a new file based on the file name of an existing one.

echo "<purpose>!?Enter Purpose?!</purpose>" > $(echo "!" | sed "s/\..*$//").meta

Is there a method to tell a Custom Command to open a file that has been newly created by the command, as ideally I want to edit the new file immediately after creation?

Many thanks
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26858
Location: Prague, Czechia
It is not possible.
Martin Prikryl

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