I have this code which echo the variable name...
set filename=
set filename=%1
... where %1 is a command input from cmd
However when I run this batch file again which a different input, it still has the same value as before. When I run it again, then it has the value previously entered. How do I clear the variable so when I run the program again, it receives that input rather than the one before?