User Guide
Installation Scripts for NetWare 141
Other Installation Options
103-000143-001
August 30, 2001
Novell Confidential
Manual 99a38 July 17, 2001
GetPath
Syntax
GetPath <var name>, <path type>, <default>, <prompt>, [<base
var name>]
Description
GetPath prompts the user for a path using the prompt. The prompt string will
be displayed, with “%s” (like C-language print formatting) being replaced by
the <default> string.
The keystrokes to modify will be added to your prompt. Trailing backslashes
are always removed before the path is displayed. <var name> is a variable
name that can be used later in a CopyFile command. If <prompt> is a null
string, the user is not prompted; the path variable is set. If <base var name>
exists, it will be used as a basis for the new variable (the remote connection
number will be maintained, etc.).
<path type>
Example
GetPath input, 1, 'A:', “Files will be copied from %s\\.”
The user will see the following prompts:
Files will be copied from A:\
Press <F3> to specify a different path.
Press <F4> to specify a remote path.
Press <Enter> to continue.
Value Description
1 Allow any path.
2 Allow floppy only (including remote).
3 Allow DOS only (including remote).
4 Allow NetWare local path only.
5 Allow local floppy only.