TotalNET Advanced Server 5.2 Reference Manual

Identifier Variables

Format each identifier variable in upper-case and precede it with a percent sign (%).

DAY 

day number (from 01 to 31) 

DAY_OF_WEEK 

day name (from Sunday to Saturday) 

MONTH 

month number (from 01 to 12) 

MONTH_NAME 

month name (from January to December) 

NDAY_OF_WEEK 

weekday number (from 1 to 7; 1=Sunday) 

SHORT_YEAR 

last two digits of year (96, 97, and so on) 

YEAR 

all four digits of year (1996, 1997, and so on) 

AM_PM 

part of day (AM or PM) 

GREETING_TIME 

time of day (morning, afternoon, evening) 

HOUR 

hour in 12-hour scale (from 1 to 12) 

HOUR24 

hour in 24-hour scale (from 00 to 23) 

MINUTE 

minutes (from 00 to 59) 

SECOND 

seconds (from 00 to 59) 

FULL_NAME 

user's full name 

LOGIN_NAME 

user's login name 

MEMBER OF group 

user's assigned group 

NOT MEMBER OF group 

group to which user does not belong 

USER_ID 

number assigned to user for mail and other directories 

FILE_SERVER 

server name 

NETWORK_ADDRESS 

network number of the cabling system (8-digit hexadecimal) 

DOS_REQUESTER 

version of the DOS NetWare shell (1.02, 2.x, 3.x, 4.x) 

MACHINE 

type of computer (IBM-PC) 

OS 

type of DOS on the workstation (MSDOS, DR DOS) 

P_STATION 

workstation's Ethernet address (12-digit hexadecimal) 

SHELL_TYPE 

version of the DOS NetWare shell (1.02, 2.x, 3.x, 4.x), same as DOS_REQUESTER 

SMACHINE 

short name for computer type (IBM) 

STATION 

PC connection number 

%n 

nth parameter of command line 

variable 

DOS environment variable, such as <path> 

Enclose in angle brackets. To use variable in a map command, insert a percent sign in front of the variable, as in map s5:=%<WP>.