I have made a few batch files the hard way by CD-ing into the directory by typing all the way from root drive to folder. I have seen a few example codes use percent signs enclosing a few key words and continue from there, eg:
%user_files%\programs\destination folder
They have always worked too.
ECHO %USERPROFILE%<ENTER>trySET<ENTER>trySET a=abctryECHO %a%– barlop Feb 18 '15 at 20:03