2016-07-31 5 views

Antwort

0

Verstanden:

set source="C:\dir" 
FOR /F "delims=|" %%I IN ('DIR %source% /B /O:D') DO SET NewestFile=%%I 

c:pscp -pw password %source%\%NewestFile% [email protected]:public_html/%NewestFile% 

pause