I have a program that reads the name of a file and from the name creates a new file. It's done by setting the name of the original file as a character variable, x, and then substituting that variable into "FILE=x"
Is there a way to add .txt or .xls or something similar after the x?