i need little help creating a loop that moves files from one dir to another,
after changing dir i want to find all files starting with ftm*.txt
and move them to another dir (keeping the original file names),
i thought this should work; obviously it doesn't 😕
ClearErrors
setoutpath "$INSTDIR\"
${DoUntil} ${Errors}
${If} ${FileExists} ftm*.txt pop $1
rename "$1" "$INSTDIR\BAK\"
${EndIf}
${Loop} im probably mixing things there but not sure what,TIA
Chris