@echo off
echo Daily IPO Backup In Progress...please stand by
echo ..
set ipo="192.168.42.1"
set putithere="c:\configbackup\\"
set mydate=%date:~4,2%%date:~7,2%%date:~10,4%
echo ......
tftp -i %ipo% GET "config/$t%%$'~ q" %putithere%%mydate%.cfg
echo .............All done! Have a nice day!
PING %ipo% -n 1 -w 10000 >NUL
attrib -R %putithere%%mydate%.cfg
PING %ipo% -n 1 -w 10000 >NUL
PAUSE