>As part of an archiving process I have a form that receives a destination directory and a time range
>
>I use mkdir() to create the desired directory tree, then COPY FILE ... to move the files
>
>copy .exe version, configs, ini
>copy the dbc, dcx, dct
>copy the dbf, cdx, fpt
>
>when I run the form from the form designer, it all works correctly, when I call it from the application menu the three database files will not copy and give me a file in use error. All of the other files copy correctly without complaint.
>
>I do not have anything in the data environment in the form, nothing is open in any datasession, no database is opened, nothing is used. I CLOSE ALL and so on. wait windows, watch windows, I cannot find anything. Nothing is open
>
>What am I missing??
>
>tia
>
>Al Allison
You may be copying the foxuser files.
I'm a mixture of Albert Einstein and Arnold Schwarzenegger. The only trouble is that I got Einstein's body and Schwarzenegger's brain