Re:problems with a scheduled script
How are you scheduling the script? Are you scheduling it with AT? If so,
by default, the AT service account is the local system account and will not
have permission to access that network share. You can change the AT service
account to run under credentials that have permission (i.e. a domain account
or a local account that is synched with a local account on the target
machine - I'd go with the former) or schedule your task using the Scheduled
Tasks in the control panel, which will allow you to specify an account for
the job. And in that case, you will also need to use an account that is
authorized to that share, by share and NTFS permissions.
Ray at work
"Rikkie" <
qtemp@skynet.be>wrote in message
Quote
I have a small script that gives me some problems.
The script is
InFolder = "\\10.1.1.3\mcafee$\Autoupdate"
Set FSO = CreateObject("Scripting.FileSystemObject")
Set fld = FSO.GetFolder(InFolder)
When i run the script via the command line it runs without a problem.
When i schedule the script i get the following message when it runs
Line : 3
Char: 1
error : Path not found
code : 800A004C
Who can help ?
Rikkie
-