Batch file creation

February 9, 2009 at 22:01:19
Specs: windows 2003
Hi All,

I'm need help creating a batch file that will do a few things. First look at some folders in a directory and determine which is the newest modified/created folder. Then in that newest modified/created folder upload the FTP site.
& delete 5 day old file from ftp site

Thanks in advance,
Jet Leo

See More: Batch file creation

Report •

February 10, 2009 at 01:25:33
To get the latest directory,
for /f %a in ('dir /ad/od /b') do set newest=%a

About dates and ftp, it is way too complicated.
Have a look at:


Report •
Related Solutions

Ask Question