|Unfortunately that didn't work. Let me know if I'm doing this right:|
SET SAVEPATH = "C:\Documents and Settings\reagent\Desktop\Slideshow"
FOR /F "delims=" %%I IN ('DIR "%MTBF_CHART%" /b /od /a-d *.png*') DO SET NewestFile=%%I
It will list all of the files in the directory and then a line which says "....\Charts\AMMS"\!NewestFile!" "
The system cannot find the path specified.