Advertisement
Advertisement
| 07.09.2008 at 03:26PM PDT, ID: 23552129 |
|
[x]
Attachment Details
|
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: |
Sub Copy_Files
'Copies the correct Exceed.xcfg file based on information gathered
Dim objLocalFile
Dim objServerFile
Set objLocalFile = objFSO.GetFile(strConfigPath)
Select Case intDisplayHeads
Case 2
Set objServerFile = objFSO.GetFile("\\" & strDomain & "\shares\windows\xxxx.xxx")
If objFSO.FileExists(objServerFile) Then
objFSO.CopyFile objServerFile.Path, objLocalFile.Path, OverwriteExisting
Else
WScript.Echo "Correct xxxxx.xxx does not exist on server. Contact System Administrator. Exiting...."
End if
|