Copyright 1997, Michael Thompson, All rights reserved.
------------------------------------------------------

Welcome to Part Two of Stu boy's Novell NetWare 3.12 Info Guide.
-----------------------------------------------------------
This part consists fully of NetWare's Workstation commands/utilities.
Each utility includes a brief summary and most available parameters.
If you have any questions email me.  
Some of these utilities require the user to have supervisor (or above)
rights.
Many of these utilities are useless to most people, but, I included them
any way.
HAVE FUN!!   :)
I think all things are spelled correctly and all parameters are right, 
but if you have any problems email them to me.  STUBOY@AC.NET
thanks.  :)

key:
COMMAND {or util name} -description     -any attribs {and their explanations}

{listed in alphabetically order}

NetWare 3.12 Workstation utilities.
--------------------------------------------
ACONSOLE-start tremote console session via modem; *2NLMs must be loaded on 
accessed server; RS232.NLM and REMOTE.NLM*
	to connect: run ACONSOLE and fill in needed info.
	Once connected: - options menu- * key
		-move between file server screens - and + keys
		-exit: AVAILABLE OPTIONS - End Remote Session.
syntax: ACONSOLE

ALLOW-see/change IRM of file/dir
	syntax: ALLOW <path> <rights>
	-if no <rights> are specified then, current trustee rights are displayed.
	-to change rights- list rights (abbreviated) you want to grant. {see trustee rights part1}
	-seperate multiple rights w/ space.

ATOTAL- used to total the usage numbers for the accounting feature (if it has been activated on server)
*tip: direct output to file, instead of watching on screen.
syntax: ATOTAL > <filename>

ATTACH- connects user to additional server while still logged on to original; lets user access server's resources; does not exec login script
syntax:  ATTACH server/username
*ATTACH  is also a login script command; allows user to automatically attach to other servers.

BINDFIX- repairs NetWare bindery structure problems {bindery = info database (network objects- users and servers)} 
creates new NET$OBJ.SYS; NET$PROP.SYS; NET$VAL.SYS; stores old files as .OLD
indications:
	-users can't change password
	-user's name couldn't be deleted or changed
	-trustee rights can't be changed {also see VREPAIR}
	-server displays bindery errors
	-"unknown server" displayed when print spooling to default printer.
- if BINDFIX doesn't fix problem, copy .OLD files to SYS:SYSTEM; then run BINDREST {see BINDREST}
-when BINDFIX is running:
	-logged-in users will not e affected; will not be able to change trusteee rights or recalc effective rights.
	-new users can not log in

BINDREST-restore bindery to pre-BINDFIX state

CAPTURE- redirect workstation's lpt port print queue;
syntax: CAPTURE <parameter>
parameters:
A       (AutoEndCap) default; sends data to queue when exit/enter to app
B=<name>        (Banner) name=max 12 characters;  appears on bottom of page
	(default=login name and job's filename}
C=<number>      (copies) number of copies; default = 1
CR=<path>       (create) sends print job to file; path=drive:\path\filename
F=<form>        which form to print on; forms defined in PRINTDEF; default=1
FF      (form feed)-use if app doen't force FF
J=<name>        (job config) specifies print job config; defined in PRINTCON
K       (keep) specifies that server keep all data from workstations; server    will print data if connection is lost
L=<number>      (local) specifies logical lpt(1-3); default=1
NA      (NoAutoEndCap) prevents data from being sent to printer when            enter/exit file
NAM=<name>      max 12 char; appears  on upper part of banner page;     default=login name
NB      (no banner) no banner page
NFF     (no form feed) disables FF at printer
NONOTI  (no notify) prevents  "printing finished" message; used to override     NOTI; default = enabled
NT      (no tabs) allows the app's print formatter to determin how many         spaces per tab; use if app has trouble printer graphics
Q=<name>        (queue) specifies the print queue
S=<name>        (server) specifies server to send jobs to
SH      (shows) displays current captured ports
T=<number>      (tabs) number spaces in tab *use only if app has no print       formatter*
TI=<number>     (timeout) number of seconds to wait before printing; used       instead of waiting til exit; default=0
--CATURE can be used in login scripts

CASTOFF- prevents messages from users 
syntax:  CASTOFF
---CASTOFF ALL -blocks messages from users and server (see caston)

CASTON-allows workstation to receive messages again.

CHKDIR- displays info on volumes and dirs
syntax: CHKDIR <dir>
	displays:
	   -max disk space
	   -space in use
	   -space available

CHKVOL- display info on disk space on volume
	syntax: CHKVOL <path>
	displays:
	   -total disk space
	   -space in use
	   -space used by deleted files
	   -space avail if files are purged
	   -disk space avail to user on volume
COLORPAL- used to change colors of menus
DOSGEN-allows diskless workstations to boot DOS from server
   To use:
	1) create DOS boot disk
	2) boot off disk, load NW client software until network drive 
	   appears
	3) DOSGEN creates image file from disk that can be used by 
	   workstation.
	   *image file= SYS:LOGIN\NET$DOS.SYS
DSPACE- limits amount of disk space that can be used by dir/user
ENDCAP- dtop redirecting (see CAPTURE) LPT port to print queue
   syntax: ENDCAP <params>
      paramerters:
	 L=<number>     (local) specifies which LPT port to stop
	    caturing (1-3)
	 ALL         endcaps all LPT ports
	 C          (cancel)- stops capture and discards stored data
		    w/o printing.
FCONSOLE- change and display server status, user connections and
   broadcast messages; *must have SysOp rights to fully utilize utility*
FILER- work w/ volume, dir and file info: display/change current dir
   and file security.
FLAG- display and change file attribs.
   -to view file attribs type <filer>
   -to change file attribs (see file attribs part I)
      -add attrib
	 FLAG <filename> "+"<attrib(s)>
      -del attrib
	 FLAG <filename> "-"<attrib(s)>
   -you can add and del attribs at the same time
   ei.  FLAG myfile.pas +p -ro
   *when add/del multiple attribs seperate w/ a space.
FLAGDIR- display/change dir attribs (see dir attribs part I)
   (use same type stuff as FLAG command)
GRANT- assign trustee rights to users
   syntax:   GRANT <rights> TO <username> /<params>
   put a space between multiple rights
   parameters:
      /s      subdirs        /f         files
LISTDIR-view info about sub dirs in a dir
   syntax:     LISTDIR <path> /<parameters>
      parameters:
	 /rights - displays IRM of all sub dirs
	 /effective rights - displays all effective rights of sub dirs
	 /subdirectories - displays sub dirs and their sub dirs....
	 /all - combination of all four parameters
LOGIN- logs onto server; executes system and user login script
   syntax:  LOGIN <server/user>
   *everytime you log on to new server you are logged off of previous
   one* {also see ATTACH}
LOGOUT- logs off of server
   *if you logged in to multiple servers LOGOUT logs you off of all
   servers*
MAKEUSER- create/delete user accounts of objects;
   2 versions: menu and command-line
   {for those of us who are not SysOp's this util is useless; if you are
   a SysOp and reading this... READ THE NOVELL MANUALS they go much more
   in depth on all of this stuff}
MAP- map drive letters to network directories (same as SUBST in dos)
   syntax:   MAP <letter> := <path>
   ei. MAP V:=VOL1:USERS\MYSTUFF
NCOPY- copies files; preserves file attribs and name space info
   syntax:  NCOPY <source_file> <destination> /<param>
   parameters:
      /A      (archive bit) copies files w/ archive needed attribe *does
	      not remove archive attrib
      /C      (copies files w/o preserving file attribs and name space info
      /E      (empty subdirs) copies empty subdirs; *must be used with /S
	      param*
      /F      (force sparse files) forces OS to write to sparse files (???)
      /I      (inform) warn user if name space and attribs couldn't be
	      copied because distination volume doesn't support it
      /M      (archive bit) same as /A except removes Archive needed attrib
      /S      (subdirs)- copies subdirectories + files
      /V      (verify)- verifies that original + new files are identical
NDIR- lists files + subdirs in a dir + file info about each {!very useful!}
syntax:   NDIR <path> /<params>
parameters:
      /HELP   displays params and command format
      /DATES  displays dates of file: created,last modified, last archived,
	  last accessed
      /DO     directories only
      /FO     files only
      /SUB    shows subdirss + all subsequent subdirs
      /LONG   (long names) *Mac, OS/2 NFS* displays files names longer then
	   DOS names
      /MAC    displays Mac files + subdirs
      /RIGHTS displays Inherited and effective rights + file/subdir attribs
      /<attrib>  {see part I} displays files with specified attrib(s)
	   *seperate multi attribs with space*
      /NOT <attrib>  displays files without specified attrib(s)
      /OW EQ <username>  displays files owned by <username> 
	   *also use /OW NOT EQ <username>  for files NOT owned by <username>
      /SI GR <number>  size greater than <number> of bytes; *also use
	  /SI NOT GR <number>  for files smaller than <number> bytes
      /SI EQ <number>  files with size equal to <number> bytes *also 
	  /SI NOT EQ <number>  files size not equal to <number> bytes
      /SI LE <number>  files with size less than <number> bytes *also
	  /SI NOT LE <number>  {figure it out for yourself}
      /UP BEF <date>  updated before <date> (mm-dd-yy) *also see
	  /UP NOT BEF <date>
      /UP EQ <date>   updated equal to <date>  *also see
	  /UP NOT EQ <date>
      /UP AFT <date>  updated after <date>  *also see
	  /UP NOT AFT <date>
      /CR BEF <date>  created before <date> *also see
	  /CR NOT BEF <date>
      /CR EQ <date>  created date equal to <date>  *also see
	  /CR NOT EQ <date>
      /CR AFT <date>  created date after <date>  *also see
	  /CR NOT AFT <date>
      /AC BEF <date>  last accessed date before <date> *also see
	  /AC NOT BEF <date>  
      /AC EQ <date>  last accessed date equal to <date> *also see
	  /AC NOT EQ <date> 
      /AC AFT <date>  last accessed date after <date> *also see
	  /AC NOT AFT <date>
      /AR BEF <date>  archived before <date> *also see
	  /AR NOT BEF <date>
      /AR EQ <date>  archived date equal to <date>  *also see
	  /AR NOT EQ <date>
      /AR AFT <date>  archived date after <date>  *also see
	  /AR NOT AFT <date>
      /SORT O  sort by owner  (  /REV SORT O  reverse sort )
      /SORT SI  sort by size  (  /REV SORT SI  )
      /SORT UP  sort by update date  (  /REV SORT UP  )
      /SORT CR  sort by creation date  (  /REV SORT CR  )
      /SORT AC  sort by last accessed date *oldest -> newest*
	 (  /REV SORT AC  )
      /UN  unsorted   (  /REV UN  )
NETBIOS- shows info about NETBIOS
   NETBIOS I   shows version of NETBIOS; whether it is loaded or not
		 which interrupts it is using
   NETBIOS U   unloads NETBIOS from memory
NMENU- exucute the menus created for users 
   syntax:  NMENU <filename>
   used in login scrips- user enters menu immediately
NPRINT- used to print ASCII + preformatted documents; used outside 
	an application
	syntax:    NPRINT <parameters>
     parameters:
	B=<name>     (banner) 12 char max; appears at lower part of 
		   banner page; default = username
	C=<number>   (copies)  number of copies to print; default = 1
		   1 - 999
	D            (delete)  deletes file after printing
	F=<form>     (form)  specifies form (paper) type to print on;
		     <form> is defined in PRINTDEF
	FF           (form feed) forces form feed
	J=<name>     (job config)  specifies print job config; define
		     in PRINTCON; default = first print job config
	NAM=<name>   (name) 12 char max; appears in the upper part of 
		     banner page; default - login name
	NB           (no banner) prevents banner page.
	NFF          (no form feed) disables FF at printer
	NONOTI       (no notify) foes not notify user when document 
		     is finished printing; default
	NOTI         (notify) notifies {at bottom of screen} when document 
		     is finished printing
	NT           (no tabs)  allow app's print formatter to determine
		     number of spaces in tab
	PS=<name>    (print server)  specifies print server to print on
	Q=<name>     (queue)  specifies print queue to send job to
	S=<name>     (server) specifies server to send job to 
	T=<number>   (tabs)  specifies # of spaces for each tab stop
NVER- see the version number of following programs running on server and
   workstation
      -NetBios
      -IPX and SPX
      -LAN Driver
      -Shell of NetWare DOS requester
      -Workstation Operating System and version
      -File server name
      -version of NetWare on server
NWXTRACT- used to locate and copy individual files from NetWare CD
  syntax:  NWXTRACT <path> <filename> <destination> /<params>
  {useless....... yes}
   param:
      /S=<name>     (server)  copies files to default location on 
		     server
      /T=<type>     (copies files of specified type (DOS,MAC,OS2,
		       SER[SERVER],UNX,WIN)
      /?   help-displays help
PAUDIT- displays accounting records for server; { accounting 
	    feature must be installed}; views user info like time 
	    logged in and out; intruder detected times; services being
	    used (blocks read/written and connect time)
PCONSOLE- setup printing services
     -create/modify print servers/queues
     -assign operators + users to print queues and print servers
     -assign print servers to print queues
     -assign print queues to printers
     -work with print jobs in queue
     {PSC  -same util except can be run from prompt}
PRINTCON- util to create and use print job config
PRINTDEF- util to define printer; define paper forms (invoices, 
       paychecks....)
PSC- command line version of PCONSOLE
     syntax:
	PSC PS=<printserver> <params>
      or
	PSC P=<number> <params>
      params:
	 AB    (abort) stops the current print job + deletes it from 
	       print queue
	 CD    (cancel down) if "going down after current job" option
	       this  param cancels down
	 FF    (form fed) causes printer to do a form feed
	 M<character>  (mark)  prints a line of specified character
		to show which line printer will start on; default = '*'
	 MO=<form>   (mount form) tells print server you have mounted a
		new paper form; forms defined in PRINTDEF
	 PAU    (pause) temporarily stops the printer
	 PRI    (private) prevents other users from printer on printer;
		printer must be attached to workstation
	 SH     (shared)  removes the PRI param
	 STAR   (start)  restarts printer paused by PAU
	 STAT   (status)  displays status of printers serviced by print
		server
	 STO    (stop) stops the printer and deletes the current job 
	 STO KEEP   (stop and keep) stops printer but doesn't delete job
PSERVER- loads print server on dedicated workstation instead of server
    syntax:  PSERVER <fileserver> <printserver>
      fileserver = controling file server
      printserver = name of print server defined in PCONSOLE
PURGE- {see part I for info on how NetWare saves deleted files}
     permanently erase deleted files from server
     syntax:  PURGE <path>
     param: to purge current dir and all sub dirs  PURGE /ALL
     {also see SALVAGE}
RCONSOLE- start remote console session on workstation directly 
    connected to server; workstation acts as server keyboard and 
    monitor; *2 NLMs must be loaded: RSPX.NLM + REMOTE.NLM
    syntax:
       RCONSOLE
REMOVE- remove user or group from trustee list of a file or dir
   syntax:  REMOVE <name> <path> <params>
   name = username or group name
   params:
      -SUB    (sub dirs) removes the trustee from all sub dirs
      -F      (files) removes the trustee from all files in dir
RENDIR- rename dirs
   syntax:     RENDIR <old name> <newname>
   to rename current dir replace oldname with '.'
REVOKE- take away user rights to file or dir while leaving them
   in trustee list
   syntax:   REVOKE <rights> <path> FROM <user> <param>
     rights = see part I or all for all rights
     params:
	-SUB   (sub dirs) revokes specified rights from all 
	       sub dirs
	-F     (files)  revokes specified rights from all files
RIGHTS- view effective rights in dir
  syntax:    RIGHTS <path>
RPRINTER- util to attach printer to workstation (remote printer)
   syntax:  RPRINTER <printserver> <printer number> <parar>
   printerserver = name of print server that will service printer
   printernumber = number of printer, defined in PCONSOLE
   param:
      -R    disconnects remote printer from print server
      -S    show status of remote printer
   *RPRINTER with no params will let you select printserver,printer
	from a list of each
SALVAGE- restore deleted files that have not been purged; purge 
    individual files
    *if dir is deleted, any files not purged are stored in 
       SYS:\DELETED.SAV
SECURITY- show existing security holes in network
SEND- send on-line messages other workstations
   syntax:
      SEND "<message>" <sever/user>
   message = any text up to 44 chars long; must be in ""s
   server = the server {if user is on same server omit server}
   user = the user's name or connection number (see USERLIST)
   also see USERLIST
SESSION- work with drive mappings 
SETPASS- util to change password
SETTTS- est. number of logical and physical record locks that 
   TTS (Transaction Tracking System) ignores before beginning to 
   track a transaction (?????)
SLIST- displays all file servers on network
SMODE- specify the order in which an application searches through 
   search drives
   syntax:   SMODE <path> <mode> <param>
   mode = number of search mode 
   number:
      0    default; specifies no search instructions; the exe file
	   looks for instructions in the NET.CFG file
      1    the program searches any dir specified in the exe file 
	   itself, the default dir and then all mapped search drives
      2    the program searches any dir specified in the exe file 
	   itself and then the default dir
      3    the program searches any dir specified in the exe file
	   itself + then the default dir; then if the open request 
	   is read only, the program search all mapped search drives
      4    Not used
      5    the program searches any dir specified in the exe file 
	   itself and then all mapped search drives; if no path is 
	   specified in the exe file, the program searches the default
	   dir and then all mapped drives
      6    Not used
      7    if a dir is specified in the exe file itself the program 
	   searches that path first; then if the open request is read 
	   only, the program searches the search drives, if no path is
	   specified, the program searches the default dir first; if the 
	   open request is read only the program searches all mapped 
	   search drives. 
	   (  ????    ????    ????    ???   ????   ????   ????    ???)
SYSCON- control most of the user, group, accounting and server info.
   SysOp's main util, must have SysOp rights to use
SYSTIME- see file server's date and time
TLIST- see all users + groups that are trustees of file or dir
   syntax:  TLIST <path>
   path = dir or file name
USERDEF- util to create users with template; if creating multiple 
   MAKEUSER is more efficient
USERLIST- list all users currently logged on; displays connection #
   syntax:  USERLIST <server name optional> <params>
   params: 
      /A     (address) displays network + node address for each user
      /O     (object) displays type of bindery object that is attached
	     at that connection (ie "user")
      /C     (continuous) allows list to scroll continuously
VERSION- displays version of NetWare util
   syntax:  VERSION <filename>
   *must specify filename*
VOLINFO- see info about volumes
WHOAMI- displays servers YOU are currently logged onto; your username
   ; times logged in; etc
   syntax:   WHOAMI <fileserver> <param>
   params:
      /A   (all) displays all info available by other params
      /C   (continuous) continuous scrolling
      /G   (groups) displays the groups you belong to 
      /O   (object) displays object supervisor info
      /R   (rights) displays effective rights
      /S   (security equivalent) displys security equivalents
      /SY  (system) displays general system info
      /W   (workgroup manager) displays workgroup manager info
WSUPDATE- update files on workstation; compares dates of workstations
   with source files + copies source file if date is more recent
   syntax:   WSUPDATE <source> <destination> /<param>
   params:   
      /C   (copy) copies new file over old one
      /F=<path>/<filename>   directs WSUPDATE to file with commands
	 for updating
      /I   (interactive) prompts user for update or not; default
      /L=<path>/<filename>   creates log file to track messages
      /N   (new) creates file and path if they don't exist
      /R   (rename) renames old file with .OLD extension; then 
	   copies new file
      /S   (search) searches for outdated files in all sub dirs
      /V=<drive>   updates CONFIG.SYS file making changes to update 
	     it from NetWare 3.11 to 3.12
(???????????????????????????)

any questions??? email them to:  stuboy@ac.net
thanks stuboy :)



