ade_aliasadd

Land Desktop Development ARX CPP SDK

Up a level
ade_aliasadd
 
 

Creates a drive alias.

int

ade_aliasadd(

char* alias_name,

char* path_name);

Returns RTNORM or an error code.

alias_name The name of the drive alias, which can be up to 31 characters. The name must be unique, contain no spaces, and start with an alphanumeric character.
path_name The drive and path to which the drive alias refers.

The function adds a new drive alias to the drive alias list. For example:

ade_aliasadd (
    "ADSRX_SAMPLE",
    "C:\\ADSRX\\Drawings\\PlotMapSet");