.

Friday, May 31, 2019

Managing A Personal Computer :: essays research papers

Managing A Personal Computer1.1 The AUTOEXEC.BAT file is one of files which lashings every time the computer is booted. It contains overtop lines and procedures to overflow programs and load settings for the systems hardware and software configuration. It also may contain command lines procedures to run programs which may clean your systems hard drive of temporary files and viruses. An example of this file is shown belowECHO OFFPROMPT $P$GSET PATH=CDOSLH CSBCDDRVMSCDEX.EXE /S /DMSCD001 /M8 /VSET BLASTER=A220 I5 D1 T4SET belong=CSBPROCMOUSEMMOUSE.COMThe first line of this batch file, ECHO OFF, is programme command which hides each the command lines procedures from the user. The second line is also a programming command that configures the CUI command prompt. The parameters after PROMPT tell the CUI what to show. The $P stands for current drive and path and $G stands for the greater than sign (>). Apart from those two parameters, a user can add any characters after PROMPT and itll be shown as the command prompt. The next command configures the CUI to search for files in that directory first onwards looking in its current location. The SET and PATH command procedures, even though different commands, are used in conjunction to configure CUI environs variables and the parameters displayed after that are what the CUI will search in first. The next command is loading DOSs compact disc read-only memory drive letter allocater (The CD-Rom device driver must be loaded first in the CONFIG.SYS). The parameters after the executable file inform the CUI to allocate a particular drive letter for the CD-Rom and also may inform the CUI to allocate extended memory or how to read the CD-Rom in terms of speed and sectors. The LH configures the CUI to load this command procedure in high or extended memory.The next command procedure allocates the Interrupt and Drive Memory allocation for the systems telephone card as well as informing the CUI of the sound cards input/outpu t range. The next command procedure informs the CUI to look for all the drivers for the sound card in its parameters which will be a directory on the hard disk.The last command loads the driver for the mouse. This command procedure doesnt need any parameters and is just a single command procedure telling the CUI to load that executable file.1.2 A Batch File Which Asks For User stimulationecho offclsIF "%1"=="C" GOTO DRIVEIF "%1"=="D" GOTO DRIVEif "%1"=="c" goto driveif "%1"=="d" goto drive

No comments:

Post a Comment