              JCMD.NLM   
             -------------

Program JCMD emulates COMMANND.COM's prompt on FileServer NetWare 386.
You can work with files on server DOS partition (until REMOVE DOS or 
SECURE CONSOLE) and with files on NetWare volumes. You can not run programs.

Syntax:  LOAD  JCMD [cmdfile]
           

   -  More than one copy can be loaded

   -	Program works with DOS name space. Cooperation with other name spaces
	was not tested.

   -	There are used undocumented NetWare functions & non-standard programing
	tricks in the program, especially for DOS access.
        !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
	!!!!    User is responsible for any possible damage.  !!!!!!!!!!!
 	!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

	Known problems:
		   by copy of large files from NetWare CDROM volume onto DOS 
		disks can server hang. It is better first copy file to HD-volume
		and than to DOS.
                   Working with DOS, system is switched into real processor
		mode. So if you press Ctrl-C in lucky moment, server will hang!
		Any DOS problem (not ready error reading drive B: ...) can hang
		server too.
                   If JCMD shows errors in DOS in/out copy, DOS FILES could be
		exhausted. FILES=20 or more is recommended. 

   -	AT ALL: program was intended as SOS tool, not as good working
	environment (no Norton Commander). 

   -	There is restriction for NW 4.x:
		- only bindery emulation login
		  

   -  commands:

 <drive>:                             volume selection (as c: or sys:)
 CD <path>                            
 MD <path>                            
 DIR [drive:][path][file]             
 COPY [/S] [/T] [/D] <filepath> [filepath]     
 VER                                  version
 EXIT                                 
 REN  [spath\][file] [dpath]          
 DEL  [path\]<file>                   
 HELP                                 
 VOL                                  NW volumes
 SALV [path][file] [/S[A]|/P[A]]      salvage/purge
 TYPE [path\]<file> [/B]              
 ATTR [filepath] [R|H|A|T|P|Sy|Sh +|-] 
 CMD  [filepath]
 LOGIN <server> [user[pwd]]
 LOG  [N] | [ [ E | A ] logname]
 ;                                    comment

 Lower / upper case letters can be used.

Details:

 CD <path>                      

      -      "." a ".." could be used

 DIR [drive:][path][file]         

      -      wildcards  ? * could be used

 COPY [/S] [T] [/D] <filepath> [filepath] 

      -      wildcards can be. If "/S", all subtree is copied. 

	     !!!! If source filepath is not unique, target must be directory.
                  COPY can NOT rename in this way: "copy *.txt *.old"

      -      if "/T" is used, trustee are copied too.
      -      if owner is not valid, SUPERVISOR is used.
      -      if "/D" (Don'tCompress) is used, compressed files will be 
             decompressed in copy

 REN  [spath\][file] [dpath]     

      -      no wildcards ! Target must be on the same volume !

 DEL  [path\]<file>            

      -      deletes files or directories

 SALV [path][file] [/S[A]|/P[A]]        

      -      Without parameters lists salvageable files. 
	       With /S, you will be asked for salvage at every file.
	       With /P, you will be asked for purge at every file.
	       With /SA or /PA salvage/purge is done for all.
	     
 TYPE [path\]<file> [/B]         

      -	     with /B is file typed binary. Wildcards can be.
      
 ATTR [filepath] [R|H|A|T|P|Sy|Sh +|-]  

      -      wildcard can be
      		R   ...    read only
		H   ...    Hidden
		A   ...    Archiv
		T   ...    Transactional
		P   ...    Purge
		Sy  ...    System
		Sh  ...    Shareable
		
 LOGIN <server> [user [pwd]]            

      -      password can be used only in batch processing (CMD command).
	     It is not possible to work with DOS files on remote servers.
             You can access other fileserver's disk by full name:
	            MUJSERVER/SYS:\SYSTEM
	        LOGIN is launched automatically, if you try access disk on 
             server you not logged in.
     
 CMD  [cmdfilename]

      - command file is text file with commands to do. Interactive commands 
        (SALV /S) don't work.

 LOG  [N] [ [E | A] logname]
   
      - switch on/off logging: Errors or All doing is logged into specified
        file. Without parameters displays logging status.

-----------------------------------------------------------------
Notes:

  - JCMD.NLM is ShareWare. See file LICENSE for conditions.

  - If compressed files are copied to NW 4.1 volume without compression 
    supported, they ARE created as COMPRESSED ! Use /D switch in such cases.

  - There is NetWare SFTIII mutation of JCMD: JCMD3.NLM. This module can be 
    loaded in MSengine of SFTIII, but doesn't support several DOS features
    as delete, rename and attribute changing. For such tasks, load JCMD.NLM
    in IOengine.

  - history:
    1.28: file mask in SALV added
    1.29: created JCMD3.NLM
    1.30: switch "/D" added to COPY
    1.31: attr without filemask set attributes for directory
    1.32: file name can be specified as target in COPY command
    1.33: correction of non-functioning 1.32
    1.34: argument parsing in 4.11 corrected
    1.35: SALV working in NW 4.11

Files:

   JCMD.DOC				this file
   JCMD.NLM   40355 02-12-96  2:55p
   JCMD3.NLM  38329 05-12-96 10:43a
   LICENSE     1950 05-12-96 10:44a 	license conditions
   INVOICE      590 02-19-96 10:59a      
   JCMD.NDS    6415 02-19-96 10:24a	how to use JCMD for NetWare NDS backup
					and restore (by Joe Flowers)

