I have set a variable with my 2 file locations and file names and run the variable further on in the script as follows:
execute cmd.exe /C xcopy $(vDataBackup) /Y;
This works fine apart from the command prompt ops up and forces me to declare a file or directory (F or D). when U type F it the executed fine and my file is renamed and copied. However I want to schedule this overnight and don't wish to have to intervene..........thoughts.