Epson Endeavor User Manual - Page 43

USING AUTOEXEC.BAT AND OTHER BATCH FILES, When you install MS-DOS, it creates an AUTOEXEC.BAT file

Page 43 highlights

Using AUTOEXEC.BAT and Other Batch files If you are using MS-DOS to access your application programs, you may find that there are commands you need to run frequently. You can automate the execution of these commands by listing them in a special file called a batch file. When you type the name of the batch file and press [=I, MS-DOS executes the commands in the file just as if you had typed each command from the keyboard. If you have a word processing program that can save a file as a text-only file (sometimes called an ASCII file), you can use it to create a batch file. You can also use the MS-DOS COPY, EDIT, or EDLIN command, or a text editor, to create the file. One batch file that you may find particularly useful is called AUTOEXEC.BAT. Every time you turn on your computer, MS-DOS looks for the AUTOEXEC.BAT file and automatically executes each of the commands in the file. When you install MS-DOS, it creates an AUTOEXEC.BAT file for you, which you can modify or replace as described above. Be sure to name the file AUTOEXEC.BAT and store it in the root directory of the hard disk or diskette from which you load MS-DOS. (You may want to rename your original file to AUTOEXEC.OLD, in case you need to use it again later.) See your MS-DOS documentation for more information about creating and using batch files. Using Your Computer 1 - 2 7

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197

Using AUTOEXEC.BAT and Other Batch files
If you are using MS-DOS to access your application programs,
you may find that there are commands you need to run
frequently. You can automate the execution of these commands
by listing them in a special file called a
batch file.
When you
type the name of the batch file and press
[=I,
MS-DOS
executes the commands in the file just as if you had typed each
command from the keyboard.
If you have a word processing program that can save a file as a
text-only file (sometimes called an ASCII file), you can use it to
create a batch file. You can also use the MS-DOS COPY, EDIT,
or EDLIN command, or a text editor, to create the file.
One batch file that you may find particularly useful is called
AUTOEXEC.BAT. Every time you turn on your computer,
MS-DOS looks for the AUTOEXEC.BAT file and automatically
executes each of the commands in the file.
When you install MS-DOS, it creates an AUTOEXEC.BAT file
for you, which you can modify or replace as described above.
Be sure to name the file AUTOEXEC.BAT and store it in the
root directory of the hard disk or diskette from which you load
MS-DOS. (You may want to rename your original file to
AUTOEXEC.OLD, in case you need to use it again later.)
See your MS-DOS documentation for more information about
creating and using batch files.
Using Your Computer
1-27