(C) 1998 AROS - The Amiga Research OS


NAME
#include <proto/dos.h>

BOOL AssignPath (name , path)

LOCATION
In DOSBase at offset 104

SYNOPSIS
STRPTR name
STRPTR path

FUNCTION
Create an assign for the given name, which will be resolved upon each reference to it. There will be no permanent lock kept on the specified path. This way you can create assigns to unmounted volumes which will only be requested when accessed. Also, using AssignPath() to assign C: to df0:c would make references go to to df0:c even if you change the disk.

INPUTS
name
NULL terminated name of the assign.
path
NULL terminated path to be resolved on each reference.

RESULT
!=0 success, 0 on failure. IoErr() gives additional information in that case.

EXAMPLE

SEE ALSO
AssignAdd(), AssignLock(), AssignLate(), Open()

NOTES

BUGS

INTERNALS

HISTORY
20.10.1998 hkiel
Amiga Research OS
10.11.1997 turrican
Use DOSTRUE and DOSFALSE defines
05.11.1997 turrican
Documentation added
31.10.1997 turrican
Initial implementation
27.01.1997 ldp
Polish
09.12.1996 aros
Added empty templates for all missing functions

Moved #include's into first column