Download Suite56 DSP Simulator User`s Manual

Transcript
path - Specify Default Pathname
12.25 path - Specify Default Pathname
PATH [pathname]
PATH +pathname[,pathname,...]
PATH The path command defines the default pathname that is used by the Simulator to store temporary files, log
files, macro command files, object files, and peripheral I/O files. If no parameters are specified, the current
default pathname is displayed in the Session window. The default pathname can be overridden by
explicitly specifying a pathname as a prefix to the filename in any of the commands which reference a file.
[pathname]
Optional. Used in the first form of the path command, indicates the
directory to use as the pathname.
+pathname[,pathname,...]
Used in the second form of the path command. Alternate source
pathnames may be specified using the path + form of the command. Each
time the command is issued, the specified pathname, or comma-separated
list of pathnames, is added the current list. When searching for files, the
Simulator will first search the default pathname, then search in each of
the alternate source pathnames, in the order that they were specified.
-
The third form of the command, "path -", deletes the entire list of
alternate source path-names.
Table 12-28. PATH Commands
Command
Resulting Simulator Action
path \sim
Defines the default working directory for Simulator files as "\sim".
path \sim\day2
Defines the default working directory for Simulator files as "\sim\day2".
path + ..\src
Adds pathname "..\src" to the list of alternate source pathnames.
path + ..\src,..\src2
Adds pathnames "..\src" and "..\src2" to the list of alternate source
pathnames.
path –
Clears the list of alternate source pathnames.
path
Shows the default working directory and help file directory for the
current device, and the list of alternate source pathnames.
Motorola
Command Reference
12-35