On 8/31/06, Nick Causton <[EMAIL PROTECTED]> wrote:
Any suggestions how I can move a directory (including any subdirectories and
files) from one drive to another?

XCOPY - RUN command fails because command length > 256 characters (very long
directory/file names)


Rather than invoking XCOPY directly, how about using VFP TextMerge to
write a batch file and then invoke that from VFP? Eliminates the path
problems. You will have to consider error handling, though: perhaps
capture the error return in the batch file and write out an error log.

--
Ted Roche
Ted Roche & Associates, LLC
http://www.tedroche.com


_______________________________________________
Post Messages to: ProFox@leafe.com
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