What I would like to do is to insert a variable in a command such as RENAME . The goal is to change the name of the file to the current time and date. This is the code I have tried to use (so that they understand my intention):
SET nombre=%time%, %date%
rename archivo1.txt %nombre%.txt