Mark0's Forum
Software => TrID File Identifier => Topic started by: FUBARinSFO on March 08, 2008, 12:15:24 AM
-
Hi again:
Evidently TrID doesn't report out errorlevel when it exits. (errorlevel is always zero irrespective of the detection result). Therefore it is not very useful in a command file without examining and parsing the output of each detection.
What would be helpful, at the minimum, if it reported errorlevel not zero when it comes up with an "unknown" file. It that way a whole drive can be searched for potentially mangled file candidates.
Hope this is helpful.
-- Roy Zider
-
TrID return an 1 as the ERRORLEVEL if some errors happens: like some needed parameter not specified, the file to analyze not found, if it can't be opened, etc.
I felt that using it with regard to the analysis results would have been too limited to be useful.
Bye!
-
Well, as I noted above I've got one application where an errorlevel >0 would help me identify lost/mangled files.
Thaks for the prompt reply.
-- Roy Zider
-
I see. Maybe I can add a different ERRORLEVEL to report that too.
I will keep that in consideration for a next version of TrID.
Thanks for the suggestion,
Bye!
-
Missing this feature too. If trid was not done filetype identification (maybe because file is textual), set errorlevel to some specified value, and MENT THIS IN DOCUMENTATION please...
thanks