I would like to check if there is an empty file in the .bat file of the file. Here is my broken script:
set dir="C:\test" set file="%dir%\fff.txt" cd %dir% if %file%%~zi == 0 exit ftp -s:"%dir%\ftp.action" exit
Could you help me debug this, please?
windows file batch-file
Rejôme
source share