Setup and Run QUAL2E on windows 2000 and Windows NT Systems
August 16, 2001

The files and setup procedure described below allow the use of QUAL2E as an independent (stand-alone) application on Windows 2000 and Windows NT systems.  QUAL2E will not run from the BASINS 3.0 interface under these operating systems.  You must have administrator privileges on your PC to perform the following setup procedure.

1.  Unzip the Qual2nt.zip file into a new directory, preferably c:\qual2e.  When extracting the zip file, make sure the check box for "Use Folder Names" is checked so that the directory structure from the zip file will be maintained  The directory structure includes a root directory (e.g., qual2e) and a  subdirectory called 'prog' (e.g., qual2e\prog).  The root directory contains data files and the prog directory contains the program files.

2.  Copy the files GSW.exe and GSWdll.dll from the qual2e\prog folder into the %Systemroot%\System32 directory (this is usually WinNT\System32).

3. Set up a new Environment Variable name "Q2eDir".  To do this:
* Right-click on My Computer, Select Properties from the pull-down menu, Click on the Advanced tab, click on Environment Variables. In WinNT, click on the Environment tab.
* Under System variables (lower window in Win2000, upper window in WinNT), click on New...(in WinNT, scroll to the bottom and click on the blank space), in the Variable Name box, enter "Q2eDir", in the Variable Value box enter the path to the QUAL2e root directory where the QUAL2E Data files are located (for example "c:\qual2e"), Click OK.  Keep the Environment Variable window open for the next step.

4. Change the Path System Variable to include paths to the Qual2e root directory and Qual2e\prog directory.  To do this:
* Under Environment Variables, System Variables (in WinNT, just System Variables), Select the Path variable, Click on Edit (in WinNT, there is no Edit button, just edit the value)... 
* At the end of the statement Add ";c:\qual2e;c:\qual2e\prog" (do not include the quotes, and modify the path accordingly if you extracted the zipped files to something other than c:), Click OK.  
* Click OK to all of the open windows to close them and get out of the Properties setup.

5.  In Explorer, right-click on the Wqual2ex short cut (in the PROG folder) and select Properties.  Go to Programs and change %Ql2dir... to %q2edir... in both the Cmd line and the Working line.

6.  Move the Qual2e shortcut (qual2e.lnk) from the Qual2e folder to where you want to run it from, for example, the desktop.

7.  Now, you can simply click on the shortcut to run QUAL2E.  Use one of the three test files in the Qual2e directory to test it.  If the program does not produce or cannot locate the output file, check to make sure you followed the above instructions correctly, and reboot your computer.

While the QUAL2E Windows interface does appear to work fine in both NT and 2000, the QUAL2E graphics program appears to work only in Windows 2000. 

This application modification was made by Robert G. Traver, Ph.D., PE, of Villanova University.  What he did was to redo all the batch files and shortcuts so they worked in Windows 2000 and Windows NT.  He had to redo the config.sys and autoexec.bat files to do this, and modify the compatibility codes using trial and error.  For further information, contact Dr. Traver at:
Robert G. Traver, Ph.D., PE
Department of Civil Eng.
Villanova University
800 Lancaster Ave
Villanova PA 19085

Robert.Traver@Villanova.edu
www87.homepage.Villanova.edu/Robert.Traver/
(610) 519-7899


This readme file was prepared and tested by Dr. Traver, Aqua Terra Consultants, Tetra Tech, Inc. - Fairfax, Virginia, and the US.EPA Office of Science and Technology (OST).

For technical support regarding QUAL2E and this modification, please contact: 
Paul Cocca, EPA OST 				cocca.paul@epa.gov

Additional questions regarding BASINS software development, maintenance, and operation may be directed to:

Russell Kinerson, EPA OST			kinerson.russell@epa.gov
David Wells, EPA OST				wells.david@epa,gov
Ed Partington, EPA OST				partington.ed@epa.gov
Henry B. Manguerra, Tetra Tech, Inc.	manguhe@tetratech-ffx.com
Jack Kittle, Aqua Terra, Inc.			jlkittle@aquaterra.com
Mauro Di Luzio, Texas A&M Univ.		diluzio@brc.tamus.edu
