


              LoadWB (V1.3, 2.X, 3.X in C:)



     NAME
            LoadWb -- To start the the WorkBench.

     SYNOPSIS
		  1.x:
		  LoadWB DELAY -DEBUG          

		  2.x/3.X:
		  LoadWB DELAY -DEBUG CLEANUP NEWPATH

     DESCRIPTION

            Normally it is found in your statup-sequence so that 
        your Workbench will be loaded when you start your Amiga. 
        The Workbench will set and keep track of all search paths 
        in effect as well as set the paths for each CLI or Shell 
        started from a Workbench icon.

            Under 1.x the Workbench will reinitialize whenever 
        you issue the LoadWB command. Under 2.x/3.x the Workbench 
        is reinit- ialized after selecting 'Update All' from the 
        Workbench menu. If you run LoadWB after it was already 
        loaded under 2.x/3.x then you will get an error message 
        saying that the Workbench is already loaded.		  

  	 KEYWORDS

		  DELAY
            This makes a three second pause before the program is 
        loaded.  This lets all the disk activity to stop before 
        going onto the next program in your startup-sequence to 
        start. If there is not a pause, then both commands will 
        try to access the floppy disk, this causes your floppy 
        drive to make a thrashing noise and slows down you disk 
        access tremendously.
			

		  -DEBUG
            This adds a brand new menu item to your Workbench bar 
        which is not normally displayed. There are two items on 
        this menu.  Debug (called ROMWack on 2.x/3.x) and 
        Flushlibs. Debug (ROMWack) loads the ROMWACK debugger. 
        This is a developer's tool which communicates to your 
        Amiga via a 9600-baud terminal connection to the serial 
        port. If this terminal is not connected, your Amiga will 
        appear to lock up, since nothing will work until the 
        remote terminal sends commands. Flushlibs lets the 
        Workbench flush out all the libraries from memory that 
        are not in use.  This frees up a good deal of resources. 
        This is useful for the programmer to check if his program 
        exited cleanly and freed all memory that they allocated.

            1.x ONLY: DELAY or -DEBUG may be used, but not at the 
        same time.


		  CLEANUP
            2.x/3.x Only: This performs a 'CleanUp' of the 
        Workbench window, making all your icons all neat and 
        orderly. This may also be done via the Window/CleanUp 
        while having the Workbench screen activated.

         NEWPATH
            2.x/3.x Only: This lets you change the path that the 
        Workbench uses. The Workbench usually remembers the CLI 
        or Shell path that issued the LoadWB command. This path 
        is automatically assigned to any Shell or CLI started 
        from an icon. This path can be changed by using the 
        NEWPATH keyword. The Workbench will then use the path 
        associated with the Shell window from which the command 
        was issued.


	EXAMPLES

            1. Load the Workbench and close the CLI:

			LOADWB DELAY
			ENDCLI >NIL:

            2. Load the Workbench with the DEBUG menu activated:

			LOADWB -DEBUG

            3. Add the SYS:File directory to the path that the 
        Workbench assigns to new Shell windows opened from icon:

			PATH SYS:File ADD
			LOADWB NEWPATH
