Hello all,
I am hoping that I am posting this in the appropriate forum. I have a simple batch file that copies files from one folder to another. Here it is:
echo on
cd \esri\esridata\usacopy states.sbn c:\temp
copy states.sbx c:\temp
copy states.shp c:\temp
copy states.shx c:\temp
copy states.dbf c:\temp
copy states.prj c:\temp
exit
Is there a way that I could modify the following code to copy only the most recent files - by this I mean the most recently updated files?
Thanks,
Michael
I am hoping that I am posting this in the appropriate forum. I have a simple batch file that copies files from one folder to another. Here it is:
echo on
cd \esri\esridata\usacopy states.sbn c:\temp
copy states.sbx c:\temp
copy states.shp c:\temp
copy states.shx c:\temp
copy states.dbf c:\temp
copy states.prj c:\temp
exit
Is there a way that I could modify the following code to copy only the most recent files - by this I mean the most recently updated files?
Thanks,
Michael