Model Reference Manual
General Commands
:
General Querying Facilities
: Querying Your System
Querying Your System
To ask about your
current MDB
, enter
Q MDB
To output all valid
teams
for the current user, enter
Q TEAM
To output the current
AVEVA E3Dâ„¢ user name
, enter
Q USER
To output your
login name
, enter
Q LOGIN/NAME
To output the value of an
environment variable
, enter
Q EVARiable <evar>
Note:
If the environment variable name contains any non-letter characters, it must be enclosed in quotes.
To output information about a
file
, enter
Q FILE <filename> <att>
To output information about an
open file
, enter
Q OPENFILE
<token> <att>
with the file identified by <token>. The information returned is governed by the attribute <att> which can be:
NAME
The name of the file as typed in the OPENFILE Command
MODE
The mode as given in the OPENFILE command
FULLName
The fully specified filename
ENTRY
The entry name of the file (i.e. without directories)
SIZE
The size of the file in bytes when it was last closed (it does not increase as it is written to)
DTM
The date and time the file was last modified
OWNER
The owner (creator) of the file
LOCK
Indicates if the file is locked (valid only for OPENFILE)
SORT
Type: File, Directory or Other (e.g. a link)
Note:
In all the above, environment variables in filenames are always expanded, even for NAME.
1974 to current year.
AVEVA Solutions Limited and its subsidiaries. All rights reserved.