This command works:
COPY FILE "c:\temp\_2iz0i7glg.txt" TO "G:\FOXPROJ\Philip\WorkArea_HumanResources\HumanResources\internal_auditing_data\trash_20081204082920.txt"
however the file names are stored in variables and I can't get a foxpro command to work with these variables that actually does the copy.
I tried COPY FILE (l_cTempTextFile) TO (l_cBackupFile)
(this executes and there is no error, but the file does not get copied)
I tried COPY FILE &l_cTempTextFile TO &l_cBackupFile
(this executes and there is no error, but the file does not get copied)
Can anyone give me a command that works with these variable names that actually copies?
COPY FILE "c:\temp\_2iz0i7glg.txt" TO "G:\FOXPROJ\Philip\WorkArea_HumanResources\HumanResources\internal_auditing_data\trash_20081204082920.txt"
however the file names are stored in variables and I can't get a foxpro command to work with these variables that actually does the copy.
I tried COPY FILE (l_cTempTextFile) TO (l_cBackupFile)
(this executes and there is no error, but the file does not get copied)
I tried COPY FILE &l_cTempTextFile TO &l_cBackupFile
(this executes and there is no error, but the file does not get copied)
Can anyone give me a command that works with these variable names that actually copies?