/i Sets an include file path
/iPATH
The /i option lets you tell Turbo Assembler where to look for
files that are included in your source file by using the INCLUDE
directive. You can place more than one /i option on the command
line (the number is only limited by RAM).
When Turbo Assembler encounters an INCLUDE directive, the
location where it searches for the include file is determined by
whether the file name in the INCLUDE directive has a directory
path or is just a simple file name.
If you supply a directory path as part of the file name, that
path is tried first, then Turbo Assembler searches the
directories specified by /i command line options in the order
they appear on the command line. It then looks in any
directories specified by /i options in a configuration file.
If you don't supply a directory path as part of the file name,
Turbo Assembler searches first in the directories specified by
/i options in a configuration file, and finally it looks in the
current directory.
Example:
tasm /i\INCLUDE /iD:\INCLUDE test1.asm
If the source file test1.asm contains the statement
INCLUDE "MYMACS.INC"
Turbo Assembler will first look for \INCLUDE\MYMACS.INC, then
it will look for D:\INCLUDE\MYMACS.INC. If it still hasn't
found the file, it will look for MYMACS.INC in the current
directory.
If the statement in the source file had been
INCLUDE "INCS\MYMACS.INC"
TASM would first look for INCS\MYMACS.INC and then it would
look for \INCLUDE\MYMACS.INC, and finally for
D:\INCLUDE\MYMACS.INC.