Re: Error code 4 for Task Scheduler

From: Dave Patrick (mail_at_Nospam.DSPatrick.com)
Date: 01/22/05


Date: Fri, 21 Jan 2005 21:15:01 -0700

net helpmsg 4
returns with
'The system cannot open the file.'

If it involves network resources, make sure the user account has permissions
to the resources and also use UNC paths as mapped drives won't exist when no
one is logged on.

-- 
Regards,
Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect
"ctdak" wrote:
|I am getting an error code 4 upon a scheduled task trying to run.  The task
| is running an MS-DOS batch file with an XCOPY command in it to transfer 
some
| files.  The batch file runs fine when run manually, so I think it has
| something to do with running after hours when not logged in.  Does anyone
| know exactly what this error code indicates?  I don't want to pay $200 for
| the MS Driver Dev Kit which supposedly explains these codes.
| Thanks.
| 


Relevant Pages

  • Re: Error code 4 for Task Scheduler
    ... > I am getting an error code 4 upon a scheduled task trying to run. ... > is running an MS-DOS batch file with an XCOPY command in it to transfer ... The batch file runs fine when run manually, ...
    (microsoft.public.win2000.general)
  • Error code 4 for Task Scheduler
    ... I am getting an error code 4 upon a scheduled task trying to run. ... is running an MS-DOS batch file with an XCOPY command in it to transfer some ... The batch file runs fine when run manually, ...
    (microsoft.public.win2000.general)
  • Re: scheduler problem
    ... > Remember that if it involves network resources to make sure the user account ... > Dave Patrick ....Please no email replies - reply in newsgroup. ... > |I have a batch file schedule to go at 2 pm every day but it return error ... > | I can run it mannaully and it works but when I try from the schedule run ...
    (microsoft.public.win2000.general)
  • Re: scheduler problem
    ... Remember that if it involves network resources to make sure the user account ... |I have a batch file schedule to go at 2 pm every day but it return error ... | I can run it mannaully and it works but when I try from the schedule run ... | I tested as domain admin and local admin and it still give me this error. ...
    (microsoft.public.win2000.general)
  • Re: Compiling m-file to C
    ... It starts compiling from m- ... operable program or batch file. ... (error code = 1). ... Error executing mcc, return status = 1. ...
    (comp.soft-sys.matlab)