

log=c:\path\winscp.log /command "open "put d:\examplefile.txt /home/user/" "exit" The resulting arguments may look like (as a single line):.You should also add /log parameter to turn on session logging to file.In Add arguments add appropriate WinSCP command-line parameters to execute the scripting commands you need (typically you will use /script or /command parameters).For task action, select Start a program and click Next.Choose when the task should be run and click Next.In the Task Scheduler menu go to Action > Create Basic Task.In Control Panel, go to System and Security > Administrative Tools > Schedule Tasks. Windows 7: Go to Windows Start Menu > Control Panel.Windows 8.1: Right click Windows Start button and select Control Panel.Or just type “Task Scheduler” into the search box.

Windows 10: Go to Windows Start Menu > Windows Administrative Tools > Task Scheduler.Windows 11: Go to Windows Start Menu > All apps > Windows Tools > Task Scheduler.
