![]() |
![]() |
![]() |
|
![]() | |
![]() |
![]() |
![]() |
![]() |
![]() |
Log In | Not a Member? |
Support
![]() |
![]() |
SYNTAX SetDirectory directoryName DESCRIPTION The SetDirectory script sets the default directory path, adding it to the list of directory paths in the Directory menu if it is not already present. Note that the Set Directory menu item in the Directory menu uses this script in its implementation. The SetDirectory script includes the -asis option of the AddMenu command so that Menu Manager metacharacters are treated as literals. INPUT None OUTPUT None STATUS
SetDirectory
can return the following status codes:
PARAMETERS directoryName Specifies the default directory path. OPTIONS None EXAMPLES The following command line sets the default directory to the Scripts folder in the {MPW} directory and adds "{MPW}"Scripts: to the Directory menu if it is not already there: SetDirectory "{MPW}"Scripts: SEE ALSO AddMenu, for more information on the effect of metacharacters on menu items
|