I have my folder at this path:
c:\ Test
and i would like to determine if my forder c:\Test\Receive is empty and if it is FALSE I would like to move the files of Receive folder in c:\ Test
Please help.
Thanks
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
I resolved my problem in this way:
cd c:\sftp\receive\ReceiveBIX
for /F %%i in (‘dir /b “c:\sftp\receive\ReceiveB\*.*”‘) do (
echo Folder is NON empty
ftp -i -v -s:”C:\ftp\Alert_B.txt”
pause
)