Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copy a folder (including all content)
Message
 
To
07/08/2002 11:35:10
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00687053
Message ID:
00687088
Views:
16
Hilmar,


>Still new to WSH, so I have a few questions...
>
>
oFSO = CREATEOBJECT("Scripting.FileSystemObject")
>>oFSO.CopyFolder(cSource, cDestination, < overwrite >)
>
>> The last parameter is an optional Boolean parameter as to whether or not exisiting files should be overwritten.
>
>Is the boolean parameter passed as in VFP (.T. / .F.), or as 1 / 0?

.T. or .F.

>The nFlags are a combination of the following constants...
>
>How are two or more flags combined, with BITOR() perhaps?

You can use BITOR() or simply add them together. As with most things like this the constants have been purposly designed so that either is acceptable.

One last item, not necessarily for you, but for anyone lurking. The WSH and the Shell.Application are decided seperate objects even though they both can be utilized by the scripting technologies. IOW, on a Win95 box, installing the WSH, doesn't get you the Shell.Application.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform