Friday, March 22, 2019
Managing A Personal Computer :: essays research papers
Managing A Personal Computer1.1 The AUTOEXEC.BAT filing cabinet is one of files which lades every succession the computer is booted. It contains pedagogy lines and procedures to run programs and load settings for the agreements hardw are and software configuration. It to a fault whitethorn contain direction lines procedures to run programs which may clean your systems hard drive of temporary files and viruses. An type of this file is shown below reduplicate OFFPROMPT $P$G banding PATH=C body politicLH CSBCDDRVMSCDEX.EXE /S /DMSCD001 /M8 /VSET BLASTER=A220 I5 D1 T4SET SOUND=CSBPROCMOUSEMMOUSE.COMThe first line of this batch 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 after PROMPT assure the CUI what to show. The $P stands for flow drive and path and $G stands for the greater than signalise (>). Apart from those two p arameters, a user can add any characters after PROMPT and itll be shown as the command prompt. The abutting 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 different commands, are used in conjunction to configure CUI environment variables and the parameters displayed after that are what the CUI go forth search in first. The next command is loading DOSs compact disc read-only memory drive letter allocater (The CD-Rom driver moldiness be loaded first in the CONFIG.SYS). The parameters after the possible 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 sound car d as well as ratting the 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 tons the driver for the mouse. This command procedure doesnt need any parameters and is incisively a single command procedure telling the CUI to load that executable file.1.2 A Batch File Which Asks For User Inputecho slayclsIF "%1"=="C" GOTO DRIVEIF "%1"=="D" GOTO DRIVEif "%1"=="c" goto driveif "%1"=="d" goto drive
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment