Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

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

martin

Re: "Once finished" Options from the command-line

Just run the winscp.exe (or .com) from .bat file and follow that by shutdown.exe.
Petros

Re: "Once finished" Options from the command-line

And is there a way to automatically send the shutdown.exe command just after WinSCP has finished the synchronization of the directories?
martin

Re: "Once finished" Options from the command-line

Just shutdown the machine after the script finishes. You can use shutdown.exe, which is part of Windows.
Petros

"Once finished" Options from the command-line

Hallo everyone,

I use the command-line to synchronize two directories, eg:
winscp.exe [mysession] /synchronize [local_directory] [remote_directory] [/defaults]

Is there any way to set the "Once finished: shutdown" option, which is available in the graphical interface of the new WinSCP version, through the command-line?

Using WinSCP 4.2.5 with "Commander" interface on Windows Vista.

Many thanks in advance.