jonovate Posted August 4, 2005 Share Posted August 4, 2005 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 Link to comment Share on other sites More sharing options...
jonovate Posted August 5, 2005 Author Share Posted August 5, 2005 Anyone? Link to comment Share on other sites More sharing options...
tomfleet Posted August 7, 2005 Share Posted August 7, 2005 Doesn't it mean failed to run? 0x1 seems to mean all went well, 0x2 meant it failed whenever I got that result. Link to comment Share on other sites More sharing options...
jonovate Posted August 8, 2005 Author Share Posted August 8, 2005 Yah, but there should be a reason why it failed? Link to comment Share on other sites More sharing options...
insanekiwi Posted August 8, 2005 Share Posted August 8, 2005 check the eventviewer. Link to comment Share on other sites More sharing options...
jonovate Posted August 9, 2005 Author Share Posted August 9, 2005 Nothing in the eventvwr Link to comment Share on other sites More sharing options...
risadams Posted August 9, 2005 Share Posted August 9, 2005 I think 0x2 means 'File Not Found' Maybe it is a problem with the syntax of the command your are using Link to comment Share on other sites More sharing options...
jonovate Posted August 9, 2005 Author Share Posted August 9, 2005 yeah looks like defrag is one of the only commands that doesn't understand the aliases, changed to C: and it works. Thanks all. Link to comment Share on other sites More sharing options...
Recommended Posts