How to write local path with spaces?
Hi, I need to write a bat file to transfer the files.
this is my local path:
And this is the code, but it doesn't work.
How can I write it down correctly?
Thanks
this is my local path:
C:\FTP\01428 - CUSTOMER NAME
And this is the code, but it doesn't work.
@echo off "C:\Program Files (x86)\WinSCP\WinSCP.com" ^ /log="C:\Magonet\Custom\FileBat\Log\WinSCP.log" /ini=nul ^ /command ^ "open ftp://username:password@ftp.site.it/" ^ "put -delete C:\FTP\00474 - CUSTOMER NAME\DDT\ESPORTATI\*.* /OUT/PRODUZIONE/" ^ "exit" set WINSCP_RESULT=%ERRORLEVEL% if %WINSCP_RESULT% equ 0 ( echo Success ) else ( echo Error ) exit /b %WINSCP_RESULT%
Thanks