Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Recognize Server Path
Message
From
14/02/1999 16:48:28
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Recognize Server Path
Miscellaneous
Thread ID:
00187557
Message ID:
00187557
Views:
65
How can I get the "Windows Script Host" or " WSH" to recognize server path?

cSource = 'C:\Test1'
cDestination = '\\Sever\test2'
IF DIRECTORY(cSource)
FSO = CreateObject("Scripting.FileSystemObject")
FSO.CopyFolder(cSource, cDestination)
ELSE
MESSAGEBOX("Directory "+cSource+" does not exist.")
ENDIF



THANKS,
Maurice
Next
Reply
Map
View

Click here to load this message in the networking platform