Getstat Utility; Getstat Commands - Texas Instruments TravelMate 4000M User Reference Manual

Texas instruments user's reference guide notebook computer travelmate 4000m
Hide thumbs Also See for TravelMate 4000M:
Table of Contents

Advertisement

The
program can be used in a batch file to test for
GETSTAT
the following:
Connection of an external monitor (/M)
Presence of an optional external expansion unit (/E)
Power source in use, external AC Adapter or internal
battery pack (/B)
Type of monitor in use, external or built-in
GETSTAT returns an error code to the batch file for it to
test.

GETSTAT Commands

To test for the presence of an optional external expansion
unit, use the command:
GETSTAT /M
If the monitor is connected,
= 1; if the external monitor is not connected,
ERRORLEVEL
exits with an
GETSTAT
To determine the current power source in use, use the
command:
GETSTAT /B
If the computer is currently powered by the Battery Pack,
exits with an
GETSTAT
currently powered by the AC Adapter,
= 0.
ERRORLEVEL
To test which video device is in current use, use the
command:

GETSTAT Utility

exits with an
GETSTAT
= 0.
ERRORLEVEL
= 1; if the computer is
ERRORLEVEL
GETSTAT
(/V)
LCD
exits with an
Other Utilities 9-3
GET STAT Utilit y

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents

Save Article as PDF