Navigation:  PBShell >

Quick Start

Previous pageReturn to chapter overviewNext page

 

This and the following two sections should be enough to get most users going with PBShell in UltraEdit. If you have advanced requirements or want further explanation, the remainder of this documentation can be consulted.

 

Create a subdirectory of your PB compiler directory named "PBShell". For example. if your PB compiler directory is "C:\Program Files\PB9", create the subdirectory "C:\Program Files\PB9\PBShell".

 

Extract the contents of PBSHELL.ZIP into the new subdirectory.

 

Open UltraEdit and select "Tool Configuration" on the "Advanced" menu.

 

Create the following five tools, changing the PBShell path as appropriate:

 

Menu Item Name: Compile Only

Command line: "C:\Program Files\PB9\PBShell\PBShell.exe" "%rp\%rn";"%f"

Working Directory: %rp

Toolbar Icon: C:\Program Files\PB9\PBShell\CompileOnly.ico

 

Menu Item Name: Test Compile

Command line: "C:\Program Files\PB9\PBShell\PBShell.exe" /S "%rp\%rn";"%f"

Working Directory: %rp

Toolbar Icon: C:\Program Files\PB9\PBShell\CompileTest.ico

 

Menu Item Name: Compile and Debug

Command line: "C:\Program Files\PB9\PBShell\PBShell.exe" /D "%rn";"%f"

Working Directory: %rp

Toolbar Icon: C:\Program Files\PB9\PBShell\CompileAndDebug.ico

 

Menu Item Name: Compile and Execute

Command line: "C:\Program Files\PB9\PBShell\PBShell.exe" /X "%rn";"%f"

Working Directory: %rp

Toolbar Icon: C:\Program Files\PB9\PBShell\CompileAndRun.ico

 

Menu Item Name: Execute Only

Command line: "C:\Program Files\PB9\PBShell\PBShell.exe" /E "%rn";"%f"

Working Directory: %rp

Toolbar Icon: C:\Program Files\PB9\PBShell\RunOnly.ico

 

Ensure that "Program Type" on the "Options" tab is set to "Windows Program" for all these tools, and that "Save all files first" (also on the "Options" tab) is checked for all tools except "Execute Only".

 

On the "Output" tab, ensure that "No Replace" is selected.

 

Click "OK" and you should see the tools on the "Advanced" menu. They can be used from there (but please glance at the UltraEdit Usage Notes section first), or a toolbar can be created for one-click access (see the next section).