Hi I am trying to create a .bat file where I have some dos commands where it could go into the ftp and delete certain html files. It does not seem to work because when it reads the first line ms-dos command prompt pops up and I guess the user is supposed to type in the commands. I need the .bat file function as a scheduled job instead of being interactively used. Here is what I have so far and Thanks in advance!!
echo
ftp
open ftp.domain.com
username
password
cd public_html
del 7510910432.html
del 7510920474.html
pause
bye
echo
ftp
open ftp.domain.com
username
password
cd public_html
del 7510910432.html
del 7510920474.html
pause
bye