Good Morning,
I found one of my nightly maint batch files on a door I just installed generating an error code 10. It is performing the function correctly but I see in my events log an error code 10 for it. What is error code 10.
I can run it from dos prompt with no error.
All the other nightly maints work fine
just the new door. It is for a program from shining star software called don't wake the sysop I have it set for nightly maint with no options. it generates the error code 10 no matter the maint m or maint w or maint commands in the events log. Running it locally in dos mode generates no error. I will probably just let it run with the error but I was curious what an error 10 is.
Re: Nightly Batch Maintennance generates error code 10
By: Rixter to ALL on Mon Jan 20 2025 08:31 am
Non-zero error codes are unique to each program, so you'd have to check the documention for the door in question to know what error condition that is correlated with. Unfortuantely, many programs don't document their result/error codes.
Did you check the error level (e.g. on Windows, that's 'echo %ERRORLEVEL%')? Just because no error message was displayed doesn't mean that the program returned an errorlevel of 0.
It's possible that it's not actually an error but rather indicating some other state/status information. By convention, zero means "no error" and all other values mean error, but in the DOS world (especially with hobby software), that wasn't always true.
If you can't get the program to return a zero error level, sett its "Error Log Level" to something less than "error" will prevent it from logging errors to your error.log.
--
digital man (rob)
Synchronet "Real Fact" #130:
Synchronet v3.20b was released on January 3, 2025 (3 years after v3.19b) Norco, CA WX: 62.6�F, 16.0% humidity, 6 mph NNE wind, 0.01 inches rain/24hrs --- SBBSecho 3.23-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
Re: Nightly Batch Maintennance generates error code 10
By: Rixter to ALL on Mon Jan 20 2025 08:31 am
Non-zero error codes are unique to each program, so you'd have to check the documention for the door in question to know what error condition that is correlated with. Unfortuantely, many programs don't document their result/error codes.
Did you check the error level (e.g. on Windows, that's 'echo %ERRORLEVEL%')? Just because no error message was displayed doesn't mean that the program returned an errorlevel of 0.
It's possible that it's not actually an error but rather indicating some other state/status information. By convention, zero means "no error" and all other values mean error, but in the DOS world (especially with hobby software), that wasn't always true.
If you can't get the program to return a zero error level, sett its "Error Log Level" to something less than "error" will prevent it from logging errors to your error.log.
--
digital man (rob)
Synchronet "Real Fact" #130:
Synchronet v3.20b was released on January 3, 2025 (3 years after v3.19b) Norco, CA WX: 62.6¨F, 16.0% humidity, 6 mph NNE wind, 0.01 inches
rain/24hrs ---
¨ Synchronet ¨ Vertrauen ¨ Home of Synchronet ¨
[vert/cvs/bbs].synchro.net
Re: Nightly Batch Maintennance generates error code 10
By: Rixter to ALL on Mon Jan 20 2025 08:31 am
Non-zero error codes are unique to each program, so you'd have to check the documention for the door in question to know what error condition that is correlated with. Unfortuantely, many programs don't document their result/error codes.
Did you check the error level (e.g. on Windows, that's 'echo %ERRORLEVEL%')? Just because no error message was displayed doesn't mean that the program returned an errorlevel of 0.
It's possible that it's not actually an error but rather indicating some other state/status information. By convention, zero means "no error" and all other values mean error, but in the DOS world (especially with hobby software), that wasn't always true.
If you can't get the program to return a zero error level, sett its "Error Log Level" to something less than "error" will prevent it from logging errors to your error.log.
--
digital man (rob)
Synchronet "Real Fact" #130:
Synchronet v3.20b was released on January 3, 2025 (3 years after v3.19b) Norco, CA WX: 62.6¨F, 16.0% humidity, 6 mph NNE wind, 0.01 inches
rain/24hrs ---
¨ Synchronet ¨ Vertrauen ¨ Home of Synchronet ¨
[vert/cvs/bbs].synchro.net
Sysop: | Weed Hopper |
---|---|
Location: | Clearwater, FL |
Users: | 13 |
Nodes: | 6 (0 / 6) |
Uptime: | 03:43:03 |
Calls: | 91 |
Files: | 50,208 |
D/L today: |
98 files (11,081K bytes) |
Messages: | 284,589 |