AUTO.EXEC.BAT
When the computer is to be booted (i.e. started) the starting up process loads and execute the AUTOEXEC.BAT file.
The AUTOEXEC.BAT file may be located in the root directory of the start up diskette or it can be kept in the hard disk also. This file helps to display date, time or to run any file automatically as soon the computer is activated.
Creating and running AUTOEXEC.BAT file
Example IV
C:\>COPY CON AUTOEXEC.BAT ( press enter key )
@ ECHO OFF
DATE
TIME
"Hello ! Good day !! My dear STUDENTS"
Instructions :
1. Save this file by pressing F6
2. Reset your computer and check the display.
When the computer is to be booted (i.e. started) the starting up process loads and execute the AUTOEXEC.BAT file.
The AUTOEXEC.BAT file may be located in the root directory of the start up diskette or it can be kept in the hard disk also. This file helps to display date, time or to run any file automatically as soon the computer is activated.
Creating and running AUTOEXEC.BAT file
Example IV
C:\>COPY CON AUTOEXEC.BAT ( press enter key )
@ ECHO OFF
DATE
TIME
"Hello ! Good day !! My dear STUDENTS"
Instructions :
1. Save this file by pressing F6
2. Reset your computer and check the display.
No comments:
Post a Comment