Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Backing up
Message
From
07/02/2002 00:38:28
 
 
To
06/02/2002 18:58:09
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00616350
Message ID:
00616425
Views:
24
>Dear everyone
>How can you make a backup copies of your foxpro program folder during run time when you issue eg., copy file C:\fox\*.* to d:\mycopy\*.* without creating an error "file is in use". I laready tried the "close all" command but it did not work. Thanks

You might try using the Win32 API call SHFileOperation() to perform the copy - it allows for wildcarding, copying of shared files and continuing to copy in the face of copy errors. It's documented in the Win32 API section.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform