Sunday, February 10, 2019
Managing A Personal Computer :: essays research papers
Managing A Personal Computer1.1 The AUTOEXEC.BAT file is one of files which payloads every(prenominal) time the computer is booted. It contains insure seams and procedures to become 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 working(prenominal) files and viruses. An example of this file is shown belowECHO OFF trip $P$GSET PATH=CDOSLH CSBCDDRVMSCDEX.EXE /S /DMSCD001 /M8 /VSET blaster=A220 I5 D1 T4SET SOUND=CSBPROCMOUSEMMOUSE.COMThe first line of this chain reactor file, ECHO OFF, is programming command which hides all the command lines procedures from the user. The second line is also a programming command that configures the CUI command prompt. The parameters by and by 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 ma tch each characters after PROMPT and itll be shown as the command prompt. The conterminous command configures the CUI to search for files in that directory first before looking in its current location. The SET and PATH command procedures, even though unlike commands, are used in conjunction to configure CUI environment variables and the parameters displayed after that are what the CUI will search in first. The adjacent command is essence DOSs CD-Rom drive garner 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 panoptic retrospection 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 apportioning for the systems sound card as well as informing th e CUI of the sound cards input/output 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 Input return offclsIF "%1"=="C" GOTO stormIF "%1"=="D" GOTO DRIVEif "%1"=="c" goto driveif "%1"=="d" goto drive
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment