I have got following code
IF NOT EXIST d:\Ordner2\*.csv move /-Y d:\Ordner1\*.csv d:\Ordner2\fertig.csv
now I got a problem because in Ordner1 are more than one files. I have read something about a for loop but I don't now how and where to integrate. I would be very happy if someone could help me.
Thank you very much.
only one should be pickedso, which one should be picked? Is there any criteria to select the file?