The easiest way is to create a bat file with your two lines and call it from ODI using OS Command.
Place below commands on test.bat file and place test.bat file at D: drive (eg: D:\test.bat)
cd C:\Program Files (x86)\WinSCP
and write below code on OS Commands package tool
Hope this will helps you to fulfill your requirement