Task Scheduler error code 0x4

Solved
tiplouf2 Posted messages 821 Status Member -  
beber67470 Posted messages 5123 Registration date   Status Member Last intervention   -
Hello,

I would like to run a .bat or .cmd file every day at a specific time, so I'm obviously looking into the task scheduler.
Small downside, it returns an error code 0x4, so I checked several forums saying that my file is not executed as an administrator, so I run it as an admin and still nothing. Another suggestion was to try it as a .cmd file, which I did, but still the same issue...
So I'm coming to you for help if you can.
My .bat file is a copy file using xcopy.
Best regards.
Thank you.

Configuration: Windows / Chrome 49.0.2623.110

1 answer

beber67470 Posted messages 5123 Registration date   Status Member Last intervention   811
 
Hello

0x0 usually corresponds to no error.

0x4 should mean that the application run by the scheduler exits
with exit code 4.

Look at the task scheduler log (hidden in the
task scheduler menu), there may be more information.
Best regards

--
Computing is just a tool, like a brush or a pencil.
Avoid those so-called repair free software, they are of no major use. The best companions are Dos and Powershell..
0