EasyManua.ls Logo

IBM L40 SX

IBM L40 SX
172 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
#E.2.2 Sample Coding
#Note: It is recommended that a subdirectory named L40SXUT be created on
# the hard disk and the batch file you created be placed on the
# subdirectory and the path to it be set.
#The following shows the contents of the SETUPPWR.CMD file. This sample
#coding resets the operational features to the optimum rate of battery
#power consumption when the computer is operating only with the
#Rechargeable Battery; resets the operational features to the maximum rate
#of power when using the AC Adapter or the Car Battery Adapter.
+------------------------------------------------------------------------+
¦ ¦
¦ ¦
#¦ @Echo off ¦
#¦ EXT_PWR ¦
#¦ If ERRORLEVEL 2 goto Error ¦
#¦ If ERRORLEVEL 1 goto External_Power ¦
#¦ rem If ERRORLEVEL 0 goto Battery_Power ¦
#¦ :Battery_Power ¦
#¦ call TRAVEL ¦
#¦ goto Done ¦
#¦ :External_Power ¦
#¦ call DEFAULT ¦
#¦ goto Done ¦
#¦ :Error ¦
#¦ Echo "Error on EXT_PWR.EXE" ¦
#¦ :Done ¦
¦ ¦
¦ ¦
+------------------------------------------------------------------------+
PS/2 Model L40 SX Quick Reference
Sample Coding
¦ Copyright IBM Corp. 1991
E.2.2 - 1

Table of Contents

Other manuals for IBM L40 SX

Related product manuals