[windows2000] Re: Copying a file to a network location

  • From: "Ray at work" <listray@xxxxxxxxxx>
  • To: <windows2000@xxxxxxxxxxxxx>
  • Date: Thu, 13 May 2004 12:48:15 -0400

What happens when you change the path to UNC?  The script you posted wasn't
UNC.  It was a network drive mapping target.

Are you running this as a scheduled task?

When you manually run it while logged on to the computer with the P:
mapping, everything is fine?

Does the user running it have share and NTFS permissions to the target
source?

Does the file already exist in the target location?

Does the code run okay if you change the target path to a local drive with
wide open NTFS permissions?

Ray at work 

> -----Original Message-----
> From: windows2000-bounce@xxxxxxxxxxxxx 
> [mailto:windows2000-bounce@xxxxxxxxxxxxx] On Behalf Of 
> Freitas, Eduardo
> Sent: Thursday, May 13, 2004 9:23 AM
> To: 'windows2000@xxxxxxxxxxxxx'
> Subject: [windows2000] Re: Copying a file to a network location
> 
> Ray,
> 
> The error message is "The Application event could log could 
> not be backed
> up."
> 
> -------------------------code---------------------------------
> 
>   For Each objLogfile in colLogFiles
>       errBackupLog = objLogFile.BackupEventLog("C:\EVT\" & 
> strLogName & "_"
> & "App.evt")
>       If errBackupLog <> 0 Then        
>           Wscript.Echo "The Application event log could not 
> be backed up."
>       Else
>           objLogFile.ClearEventLog()
>       End If
>   Next
> 
> Regards,
> 
> Eduardo
> 
> 
>  
> -----Original Message-----
> From: Ray at work [mailto:listray@xxxxxxxxxx] 
> Sent: quinta-feira, 13 de maio de 2004 09:54
> To: windows2000@xxxxxxxxxxxxx
> Subject: [windows2000] Re: Copying a file to a network location
> 
> What is the error that you get?
> 
> Ray at work
> 
> 
> > -----Original Message-----
> > From: Freitas, Eduardo
> > 
> > Can't get to works as in:
> > 
> > errBackupLog = objLogFile.BackupEventLog("P:\" & strLogName & "_" &
> > "App.evt")
> 
> 
> ********************************************************
> This Weeks Sponsor StressedPuppy.com Games
> Feeling stressed out? Check out our games to
> relieve your stress.
> http://www.StressedPuppy.com
> ********************************************************
> To Unsubscribe, set digest or vacation
> mode or view archives use the below link.
> 
> http://thethin.net/win2000list.cfm
> ********************************************************
> This Weeks Sponsor StressedPuppy.com Games
> Feeling stressed out? Check out our games to
> relieve your stress.
> http://www.StressedPuppy.com
> ********************************************************
> To Unsubscribe, set digest or vacation
> mode or view archives use the below link.
> 
> http://thethin.net/win2000list.cfm
> 


********************************************************
This Weeks Sponsor StressedPuppy.com Games
Feeling stressed out? Check out our games to
relieve your stress.
http://www.StressedPuppy.com
********************************************************
To Unsubscribe, set digest or vacation
mode or view archives use the below link.

http://thethin.net/win2000list.cfm

Other related posts: