Howard,

I've done a cut-and-paste on your code in post #125505, changing only the path and filename of the data file.

The first code example definitely chokes when it encounters the line...
Set BACKUP_LOCATION-REMOTE=\\srv01\cfg_backup$

The second code example beeps out in error without producing any visible output. I've tried this code two different ways: first by merging lines 6 & 7 into a single line by deleting the CR and spaces, and then using it exactly as posted.

Thanks,

Tim ==