Contents | < Browse | Browse >
ASSIGN [logical name:] [directory] [ADD|REMOVE|DEFER|PATH]
* ASSIGN will assign a logical device name to a disk directory.
eg. assign z: df1:zshell_source
Now if you do a DIR Z: you will get a directory of df1:zshell_source.
Similarly, the default device names can be reassigned.
eg. assign libs: df1:libs
* Typing ASSIGN with no parameters, will list the current device
assignments.
eg. assign
* Only for OS2.0+:
"ASSIGN name: REMOVE" or "ASSIGN name: dir REMOVE" removes that assign
"ASSIGN name: dir ADD" assigns multiple dirs to name:
"ASSIGN name: pathname DEFER" will become a normal assign when accessed
the first time. So you can assign to a path that does not exist yet.
"ASSIGN name: pathname PATH" assigns to a path. Similar to DEFER, but
will not converted into a normal assign. If you have "assign bla: df0:
path" and do "list bla:", you will get the directory of the disk
inserted NOW (!) in df0:.