I want to run batch file with JAVA.
I want to log the output of batch commands to a file and also to hide the cmd console.
Batch file is working fine but with Java it is neither logging correctly nor hiding the console.
Batch file "Ftp.bat" contents:
ftp -s:FtpCommands.txt >> Output.log
exit
Thanks in advance.