>Dear Sir,
>
> wshFSObj = CREATEOBJECT("Scripting.FileSystemObject")
>
>The above line returns "OBJECT"
>No error message appears
>
>Please help again
OK If this line return OBJECT there is an easier way to copy folder. But keep in mind that not on all computers SYSADMINS enabled scripting. Try this:
cFolder1 = "d:\cotton"
cFolder2 = "c:\cotton"
wshFSObj = CREATEOBJECT("Scripting.FileSystemObject")
wshFSObj.CopyFolder(cFolder1, cFolder, .t.)
wshFSObj = NULL
RELEASE wshFSObj
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.