Everyday I have to rename 6 files todaydate.94E and todaydate.94N in txt file and then I have to merge every file.
The example would be:
So, I created this batch to rename and then merge them.
if exist *.94* ( ren *.94* *.txt ) if not exist all.txt ( copy *.txt all.txt ) else ( del all.txt copy *.txt all.txt )
It work fine except that there is a conflict between the name .94E and .94N
A duplicate file name exists, or the file cannot be found.
even if I do this :
if exist *.94E ( ren *.94E *.txt ) if exist *.94N ( ren *.94N *.txt )
I saw this topic but I don't know why none of this codes work with me. For info, system is windows 10 and I am not a user admin.
Do you know why ?