In some commands you won't want L/P Dos to expand the variable name, in this case, use two percent signs followed by the variable letter "%%V". The FOR command is a good example of where you might want to do this.