SCAN cTableName = SUBSTR(TEMPDBFFIX.TABLE, AT('\', TEMPDBFFIX.TABLE,1)+1) cFileName = lcTemplatePath + 'TEMPLATE\DATA\' + TRIM(cTableName) + '.*' *-- Delete all tables in Template Data directory DELETE File(cFileName) *-- Copy files from production fileshare to backup template on server cTableName = OAPP.CDEFAULT + TRIM(TEMPDBFFIX.TABLE) + '.*' COPY File(cTableName) TO (cFileName) ENDSCAN>I am adding new functionality to our software (which is currently running in VFP 5.0) to automatically copy our data files to select user's pcs in case our users ever lose their network connection. I thought what I was doing was going to be very easy but is turning out to be very difficult. First I need to delete the existing files, then download the current files. I am trying to do the following but it is not working...it appears as though I cannot use a variable name in DELETE / COPY commands.