Edit your autoexec.bat file, Utoexec – Measurement Computing Medallion Getting Started rev.2.1 User Manual
Page 16

14
Medallion Getting Started
January 2001
E
DIT
Y
OUR
A
UTOEXEC
.
BAT
F
ILE
You only need to edit your Autoexec.bat file if you plan to run:
·
SPL commands in an MS-DOS window.
·
MATLAB commands.
·
Visual Basic commands.
1.
Click Start to open a pop-up menu.
2.
Select Run.
3.
Click the arrow to the right of the data entry box to open a pop-up menu. Select sysedit and
click OK. All the files presently used by the system will open.
Typically the autoexec.bat file is the active window (at the front). If not, look for the window
with autoexec.bat as the title, and click on it to bring it to the front as the active window.
If sysedit is not listed, click CANCEL. Click the Start button and select Find on the menu and Find File
and Folders on the sub menu. In the Find All Files window, select Drive C and type “sysedit” in the
Name data entry box. Click the Find Now button. When the file is found, double-click on the file name
to open the system files.
For MATLAB Users Only
Valid only for 8 channel Medallion Users.
At the end of the “autoexec.bat” file, add the following lines of information.
SET DART=nnn
where nnn is the second through fourth numbers of the
range you wrote down in the previous step.
Example: If your address is 0120-015F, nnn is 120.
For SPL Command Line and SPL Batch Users
Specify the location of SPL setup and storage files.
SET DDISK=C:\MEDAL\
Add the following “C: statement” at the end of the line that starts with PATH=C:.
Notice that there is always a semicolon (;) between the “C: statements.”
C:\medal;
Example: PATH=C:\;C:\windows;C:\windows\command;C:\medal;
Note: If you are running NT and there is not a PATH statement in your autoexec.bat file, do the
following.
a.
Open the MS-DOS window.
b.
In the MS-DOS window
Type: edit autoexec.bat
Type: path=%path%; c:\medal
4.
Save all your changes.
5.
Close all windows.
6.
Restart your computer NOW, for the AUTOEXEC.BAT settings to take effect.