Creating Search Drives
Adding the -s option to a link expression will prepend the DOS path with the
newly mapped drive.
For example, if 'W' is a drive mapping created with the -s option, the DOS
path will look like the following:
W:.;Z:.;C:\WINDOWS;C:\DOS;C:\UTILS
Under Windows 3.x this option modifies the path in the master Windows
environment. When the drive mapping is deleted the path is restored. The -s option can
also be combined with the -p option.
Under Windows 95 this option modifies the environment only for the application
being launched. Other applications do not see the new search drives. Under
Windows 95 the -s option is ignored if it is combined with the -p option.
For both Windows 3.x and Windows 95, LinkLaunch is able to modify the the
environment inside of DOS boxes created by LinkLaunch. It does this by creating
and running temporary batch files. For DOS applications, you must always include
the file extension.
Examples of the -s option:
LL -s\\server1\vol1\apps\access msaccess.exe
The above example creates a temporary search mapping to the 'access'
directory. The newly mapped drive letter is mapped to \\server1\vol1 and the current
directory on the drive is changed to apps\access. Note that the search feature
relies on the ability of LinkLaunch to change current directories. Only the
drive letter is put on the DOS path.
LL -s-ph:=\\server2\vol1\apps
The above example creates a persistent search mapping to the 'apps' directory.
(This works only for Windows 3.x)
See also:
Entering LinkLaunch Commands