Computing.Net > Forums > Disk Operating System > get status dump from CTLOAD, MSCDEX

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

get status dump from CTLOAD, MSCDEX

Reply to Message Icon

Name: roamer_1
Date: February 2, 2005 at 12:17:53 Pacific
OS: DOS 7.10, Win98SE
CPU/Ram: Multiple machines
Comment:

I have written several batches that load CDROM, USB, etc using ctload. I am now trying to add error checking.

One check is to see if the driver is already loaded in case the batch is run from the prompt: If it is, then echo "already loaded", and exit.

The problem is that ctload acts as a wrapper around whatever it loads, so one will not find the driver in mem.

For instance, if one loads vide_cdd.sys from config one can find vide_cdd in mem. If the same driver is loaded using ctload, one can find ctload in mem, but not vide_cdd. As multiple drivers can be loaded using ctload, it is impossible to test for ANY drivers that ctload has loaded.

Is there another like ctload that will lh the drivers and can be queried for status?

Perhaps a tool to get status from mscdex, or a replacement that does same (must like win)?

Does any other solution come to mind?

I have already thought to leave a var and write to %temp% at the end of boot, but would like a more elegant solution, one that doesn't clutter the environment for very long and requires no standing temp file.

Other Info:
Schaeffer's tools, others are available (not a purist, new toys are welcome).

Batch may be on CD, so write to %0 dir is not suggested.

First error test is for %temp%, batch will exit without it, so write is available in %temp%.

THX in advance.


Bruce




Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Disk Operating System Forum Home


Sponsored links

Ads by Google


Results for: get status dump from CTLOAD, MSCDEX

get a password from a user (concealed) www.computing.net/answers/dos/get-a-password-from-a-user-concealed/8439.html

getting the path from a string www.computing.net/answers/dos/getting-the-path-from-a-string/8803.html

how to get DOS prompt from bootup www.computing.net/answers/dos/how-to-get-dos-prompt-from-bootup/7420.html