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

  • From: "Freitas, Eduardo" <Eduardo.Freitas@xxxxxxxxxxxxx>
  • To: "'windows2000@xxxxxxxxxxxxx'" <windows2000@xxxxxxxxxxxxx>
  • Date: Wed, 12 May 2004 15:33:48 -0500

Whats up Ray?

Can't get to works as in:

errBackupLog = objLogFile.BackupEventLog("P:\" & strLogName & "_" &
"App.evt")

where errBackupLog != 0 and P: is a network drive.
The user who is running the machine currently, has P:\ mapped so I guess my
question is can the script reach p:? If it can't then is there any way to
generate this backup at a UNC?

The account I'm currently running the script as has administrator rights to
all local workstations.

Thanks for your help,

Eduardo
 
-----Original Message-----
From: Ray at work [mailto:listray@xxxxxxxxxx] 
Sent: quarta-feira, 12 de maio de 2004 16:52
To: windows2000@xxxxxxxxxxxxx
Subject: [windows2000] Re: Copying a file to a network location

What does "can't seem to get that to work" mean?  Do you get an error?  If
so, what is it?  And with what method of copying?  Are you trying to do the
copy with AT?  By default, AT uses the local system account which will not
have permissions to the remote share.  You'd have to change the AT account
to use a domain account with permissions or use a scheduled task in which
you specify domain credentials.

Ray at work 

> -----Original Message-----
> From: Freitas, Eduardo


> Does anyone know how can I copy a file from a remote machine 
> to a UNC? I'm trying to backup an event log remotely and 
> place it on a shared drive, but I can't seem to get that to work?


********************************************************
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: