I've written a small app to copy a directory from one location to another as
a backup and it's giving me the weirdest errors.  Any enlightenment would be
gratefully received.

The directory being copied is D:\CELEBRATION FILE which is being copied to
F:\Backup\

If I run as an app from the directory D:\COPYUTIL I get the following
errors:

One error is with the line COPY (tcSourceFile) TO (tcTargetName).
The source file shows as D:\CELEBRATION FILE\SOURCECODE\PRGS\MAIN.FXP in
Debug.
The target name is F:\BACKUP\Mirror20070318a\SOURCECODE\PRGS\MAIN.FXP
The error message is File C:\docume~1\john\locals#1\temp\main.fxp does not
exist!

Another is where two of the files being copied CONTROL.SCX, and CONTROL.SCT
in the folder D:\CELEBRATION FILE\SOURCECODE\FORMS are shown as being in
use - but they shouldn't be.  This app uses a form CONTROL but a totally
different folder.

If I run as an exe from C:\Program Fils\CopyUtil I get the following errors:

File 'c:\program files\copyutil\dbfs\about.dbf' does not exist.
File 'c:\program files\copyutil\dbfs\logos.dbf' does not exist.
File 'c:\program files\copyutil\forms\control.sct' does not exist.
File 'c:\program files\copyutil\forms\control.scx' does not exist.
File 'c:\vfp9 common code\graphics\h_point.cur' does not exist.

Which is quite correct - they don't as they are components of the exe and
exist in D:\CopyUtil\Sourcecode\.

There are over 1500 files in the folder I'm copying and the rest copy
without any problems.

I'm baffled!  But for the fact I hate being beaten I'd have replaced the lot
by RUN XCOPY...

John Weller
01380 723235
07976 393631



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to