Re: Copy Script
- From: Tim <TimJordanVBS@xxxxxxxxxxx>
- Date: Fri, 29 Jun 2007 02:40:01 -0700
Why don't you use the error handling in vbs (or have I miss-understood
your problem)?
I do this kind of thing:
On Error Resume Next
oFolder.Copy sRelativeBackupPath,true
If Err Then
'details are in Err.Number and Err.Description
'log the error
Else
'you can log success here if you wish
End If
On Error Goto 0
'Where there was an error or not, we can carry on here
Tim.
.
- Follow-Ups:
- Re: Copy Script
- From: TDM
- Re: Copy Script
- References:
- Copy Script
- From: ickleric
- Re: Copy Script
- From: S Moran
- Re: Copy Script
- From: ickleric
- Re: Copy Script
- From: ickleric
- Re: Copy Script
- From: Tim
- Re: Copy Script
- From: ickleric
- Re: Copy Script
- From: TDM
- Copy Script
- Prev by Date: Re: Ping
- Next by Date: Re: issues in finding the share exists or not
- Previous by thread: Re: Copy Script
- Next by thread: Re: Copy Script
- Index(es):
Relevant Pages
|