Archived

This topic is now archived and is closed to further replies.

0x2 result for Scheduled Task

Recommended Posts

jonovate    0

Anyone know would 0x2 means? The result is from a task to defrag, running as system.

Run: C:\WINDOWS\system32\defrag.exe %HomeDrive% -f

Thanks

Share this post


Link to post
Share on other sites
jonovate    0

Anyone?

Share this post


Link to post
Share on other sites
tomfleet    0

Doesn't it mean failed to run? 0x1 seems to mean all went well, 0x2 meant it failed whenever I got that result.

Share this post


Link to post
Share on other sites
jonovate    0

Yah, but there should be a reason why it failed?

Share this post


Link to post
Share on other sites
insanekiwi    0

check the eventviewer.

Share this post


Link to post
Share on other sites
jonovate    0

Nothing in the eventvwr

Share this post


Link to post
Share on other sites
Causas    0

I think 0x2 means 'File Not Found'

Maybe it is a problem with the syntax of the command your are using

Share this post


Link to post
Share on other sites
jonovate    0

yeah looks like defrag is one of the only commands that doesn't understand the aliases, changed to C: and it works. Thanks all.

Share this post


Link to post
Share on other sites

  • Recently Browsing   0 members

    No registered users viewing this page.