PRB: COPY FILE Command Gives "File Access Denied" ErrorLast reviewed: April 29, 1996Article ID: Q90032 |
The information in this article applies to:
SYMPTOMSWhen the COPY FILE command is used to copy a file, a "File access denied" error occurs.
CAUSEThe destination filename is not specified in the COPY FILE command.
RESOLUTIONSpecify the fully qualified pathname for the destination file.
MORE INFORMATIONTo copy the TEST.PRG file from the C:\FOXPRO2 directory to the C:\PROGRAM directory, enter the following command in the Command window:
COPY FILE C:\FOXPRO2\TEST.PRG TO C:\PROGRAM\TEST.PRGOmitting the filename, as follows
COPY FILE C:\FOXPRO2\TEST.PRG TO C:\PROGRAMcauses a "File access denied" error message to appear. FoxPro interprets the PROGRAM directory as the name of a file and it is unable to open that directory as a file.
|
Additional reference words: VFoxWin 3.00 FoxDos FoxWin 2.00 2.50 2.50a
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |