del ftpget.bat set date_string=%date:~10,4%%date:~4,2%%date:~7,2% echo cd /SL.us008001/ST.opnl/MT.gfs_CY.00/RD.%date_string%/PT.grid_DF.gr1 > ftpget.bat echo lcd c:\wingridds\grib\wafs\octantp >> ftpget.bat echo prompt >> ftpget.bat echo quote PASV >> ftpget.bat echo bin >> ftpget.bat echo get fh.000_tl.press_ar.octantp >> ftpget.bat echo lcd c:\wingridds\grib\wafs\octantm >> ftpget.bat echo mget fh.000_tl.press_ar.octantm >> ftpget.bat echo lcd c:\wingridds\grib\wafs\octantn >> ftpget.bat echo mget fh.000_tl.press_ar.octantn >> ftpget.bat echo lcd c:\wingridds\grib\wafs\octanto >> ftpget.bat echo mget fh.000_tl.press_ar.octanto >> ftpget.bat echo bye >> ftpget.bat ftp -s:ftpget.bat -A tgftp.nws.noaa.gov cd c:\ cd wingridds grib2pcg32 octets.wsw cd \ cd wingridds cd grib cd wafs cd octanti del fh*.* cd .. cd octantj del fh*.* cd .. cd octantk del fh*.* cd .. cd octantl del fh*.* cd .. cd octantm del fh*.* cd .. cd octantn del fh*.* cd .. cd octanto del fh*.* cd .. cd octantp del fh*.* cd .. exit