Telephone Directory
Government Home Search Sitemap Contact Us  
   Published by the
Department of Transportation
and Works

General Information  |  Online Help  |  Frequently Called Numbers  |  Fax Numbers  |  Download  |  Postal Mail
Federal Directory  |  Provincial Directories  |  Business Directory  |  Residential Directory  |  Yellow Pages  |  World Directories

Ms-DOS Version -- Installation Instructions

 
----------------------------------
: README.TXT File    :
----------------------------------

         ===========================================================
                      Government of Newfoundland and Labrador Telephone Directory
         ===========================================================

This is a DOS based version of the Provincial Government Telephone Directory.

It may be run from a Stand Alone PC or from a Network Server. If run from
a Network, a directory must still be created on the local C:\ drive so that
the user can maintain a Personal Database Directory.

Refer to the On-Line Help Screens for additional information.


INSTALLATION
*******************

STANDALONE PC
---------------------------------------
For the system to work properly as a standalone system, it should be
installed on your C: drive in a directory called GOVPHONE.

Steps to install for STANDALONE PC.

1. Make a directory call GOVPHONE on your C:\ Drive

        MD C:\GOVPHONE
                                                                
2. Copy the compressed self-expanding file GOVPHONE.EXE into the
   C:\GOVPHONE\ directory.

        COPY {source location}:\GOVPHONE.EXE C:\GOVPHONE\*.*

3: Then change to the C:\GOVPHONE directory and type GOVPHONE to
   extract the program and database files.

        CD \GOVPHONE
        GOVPHONE

   The necessary files will be extracted into the current directory.

   If this is not a new installation you will be asked to overwrite files.
   Be sure to answer Y to all questions.

4. Once you have extracted the files, you can DELETE the file GOVPHONE.EXE

        DEL GOVPHONE.EXE

5. The actual program file (PHONE.EXE) is meant to be run from the 
   directory where the databases are located.

   To start the program, simply type the command        PHONE

   The initial start-up after installation will be longer than
   normal as certain files, called indexes, are being created.  


Trouble-shooting Notes:
**********************************************

        If a user has a problem with the installation or initial use,
        the first place to check is the number of FILES in the
        config.sys; increase this, re-boot and try again.  Another
        problem could be a DOS Version less than 5.0.  The solution
        to this problem is either upgrade to DOS 6.2x or install on
        a machine that has 6.2x .

        If you have problems with sorting orders, delete all files
        with the *.NTX extension (which are index files) and restart
        the program. The indexes will be re-created.  

                del *.NTX
                PHONE


NETWORK INSTALLATIONS 
-----------------------------------------------

** Note **      

1. As a Network Supervisor or Administrator, change to the network drive you
   want the program to reside on and make a sub-directory called GOVPHONE.

   Then make GOVPHONE the current directory.

   Give users on the Network "Read" and "File Scan" Rights to this directory.

3. The next step is to copy the Self-Extract-ing file GOVPHONE.EXE to
   the current directory.

4. Then type GOVPHONE to extract the program and databases files.

   Simply type the command      GOVPHONE

   The necessary files will be extracted into the current directory.

   If this is not a new installation you will be asked to overwrite files.
   Be sure to answer Y to all questions.

5. Once you have extracted the files, you can DELETE the file GOVPHONE.EXE

        DEL GOVPHONE.EXE

6. SET a DOS Variable "PHONE" to point to the Network Drive
   Location as follows

     SET PHONE={server name}/{volume name}:{directory path to phone system}

     Example:

        SET PHONE=LANSERVER\SYS:APPS\GOVPHONE

       ** TIP: **

         Place this setting in a DOS Batch File that you
         may wish to create to start the PHONE system or within the
         System Login Script.


7. The actual program file (PHONE.EXE) is meant to be run from the
   directory where the databases are located.

   To start the program, simply type the command        PHONE

   The initial start-up after installation will be longer than
   normal as certain files, called indexes, are being created.  


Trouble-shooting Notes:
********************************

 If there is difficulty in activating the System from a Network Drive,
 first perform the stand alone instructions above (including the
 Trouble-shooting Notes previously mentioned).

 Then copy the following files "specifically" that are created
 in the GOVPHONE directory to a separate directory or location.

        PERSONAL.DBT
        P_PHONE.NTX 
        P_DEPT.NTX  
        P_NAME.NTX  
        PERSONAL.DBF
        VER1.51

 Delete all remaining files within the C:\GOVPHONE directory.
 
 Then copy the files ...

        PERSONAL.DBT
        P_PHONE.NTX 
        P_DEPT.NTX  
        P_NAME.NTX  
        PERSONAL.DBF
        VER1.51

 ... back into the GOVPHONE directory and re-run the PHONE System
 from the Network. Remember to have the DOS SET Variable "PHONE"
 defined to point to the Network Drive as previously explained.

 If it works, you should place these files into a SHARED directory
 on the Network so that users can make a directory on their local
 C:\ drive called GOVPHONE and copy these files into it prior to running
 the PHONE system. Alternatively, you could set up a DOS Batch File
 to do this for your users. See following sample.

    ** TIP : **

    Make a sub-directory on the Network below GOVPHONE, where these
    files can be located.

        PERSONAL.DBT
        P_PHONE.NTX 
        P_DEPT.NTX  
        P_NAME.NTX  
        PERSONAL.DBF
        VER1.51

    md {network path}\GOVPHONE\PERSONAL
    COPY C:\GOVPHONE\*.* {network path}\GOVPHONE\PERSONAL\*.*

Sample Network Batch File:
----------------------------------------------------
@ECHO OFF
CLS
GOTO POSTREM
:******************************************************************
: Called From     -- LOCAL AREA NETWORK 
: Program Purpose -- BATCH FILE TO CREATE DIRECTORY & COPY APPLICABLE 
:                    PERSONAL PHONE FILES. THIS BATCH PROGRAM IS VALUABLE FOR 
:                    THOSE WORKSTATIONS WHICH ENCOUNTER PROBLEMS IN INITIALLY 
:                    CREATING & COPYING NECESSARY PERSONAL FILES FOR USE WITH 
:                    THE GOVT PHONE DIRECTORY THROUGH THE NORMAL PHONE.EXE 
:                    PROGRAM.
:                 -- THIS BATCH PROGRAM WILL SIMPLY COPY AN ALREADY 
:                    ESTABLISHED SET OF PERSONAL PHONE FILES FROM THE NETWORK 
:                    TO THE WORKSTATIONS LOCAL C:\ DRIVE INTO A C:\GOVPHONE
:                    DIRECTORY. IT THEN CALLS THE PHONE SYSTEM.
:
: DOS "SET" Parameters Obtained From System Login Script ...
:                 -- PHONE 
:******************************************************************
:POSTREM

:STEP0
:*  NOTES: Check for existance directory & related files; if file exists,
:*         then this Procedure has already been completed for this user
:*          ( skip rest of program and goto end - Start Actual System ).
IF EXIST C:\GOVPHONE\P_NAME.NTX > NUL GOTO END
:*
:STEP1
:*  NOTES: Display user information message.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO   ***  SETTING UP A PERSONAL GOVERNMENT PHONE DIRECTORY  ***
ECHO.
ECHO   IF YOU EXPERIENCE A PHONE SYSTEM CONNECTION PROBLEM, PLEASE 
ECHO      ADVISE YOUR NETWORK ADMINISTRATOR AS SOON AS POSSIBLE.
ECHO.
:*
:STEP2
:*  NOTES: Check for existance of directory; 
:*         if directory does not exist then create it.
IF EXIST C:\GOVPHONE\NUL GOTO STEP3
MD C:\GOVPHONE > NUL
:*
:STEP3
:*  NOTES: Copy the personal files to the users personal C:\GOVPHONE directory.
XCOPY {network source location}\GOVPHONE\PERSONAL\*.* C:\GOVPHONE\*.* > NUL
:*
:STEP4
:*  NOTES: Ensure user has been informed of change.
ECHO.
ECHO PERSONAL PHONE FILES HAVE NOW BEEN ESTABLISHED IN A DIRECTORY C:\GOVPHONE.
ECHO.
ECHO THANK YOU FOR YOUR CO-OPERATION.
ECHO.
:END

ECHO.
ECHO.
ECHO Loading Government Telephone Directory System ....
CALL {network source location}\GOVPHONE\PHONE.EXE
GOTO EOF

:EOF
:*  NOTES: Batch File Has Been Completed.

*** End of File ***
 
Return To Ms-Dos Version Options
 

SearchHomeBack to GovernmentBack to DepartmentSite MapContact UsTop

All material copyright the Government of Newfoundland and Labrador. No unauthorized copying or redeployment permitted. The Government assumes no responsibility for the accuracy of any material deployed on an unauthorized server.