* wildcard and choosing the most recent folder
Posted: 05 May 2009 09:45
Hello Everyone
I have a batch file that looks like this
open edi_master1
ftpmdm
Ftp!mdm
lcd R:\05.05*
cd meterdata
cd
cd ..
Quit
the line lcd R:\05.05* enters into a folder that is named by some sort of date time stamp.
It always chooses the lowest folder (one that has the lowest stamp).
I want it to choose the most recent folder. How would i do that?
-Fage'
I have a batch file that looks like this
open edi_master1
ftpmdm
Ftp!mdm
lcd R:\05.05*
cd meterdata
cd
cd ..
Quit
the line lcd R:\05.05* enters into a folder that is named by some sort of date time stamp.
It always chooses the lowest folder (one that has the lowest stamp).
I want it to choose the most recent folder. How would i do that?
-Fage'