Top Navigational Bar

Network -.SET files, the .ENV file, and NWPSETUP
DocumentID: 600931
Revision Date: 29-Feb-96 1:28:33 PM

The information in this document applies to:
WordPerfect® 5.1 for DOS

Problem

Solutions: Where are .SET files stored?
If WordPerfect finds a /PS switch (in the environment file, a command line, or in a DOS SET command), the .SET files will be stored in the directory specified by the /PS switch. If WP cannot find a /PS switch, it will create the .SET files in the .EXE directory unless the user has insufficient rights there, in which case it is created in the user's default directory. (On Novell, users need all rights except parental in the directory where the .SET files are stored.)

When are they created?
.SET files are created upon entering WP (unlike the SYS.FIL file in WP 4.2). If a master .SET file exists, WP should create a duplicate copy of the master .SET file, WP{WP}.SET, for each user going into WP for the first time. This file would be called WPxxx}.SET (where xxx stands for user initials).

What do .SET files contain?
1. Setup initial codes             9. Keyboard name
2. Path names                        10. Monitor attributes
3. Screen size                        11. Repeat count
4. Beep options                  12. Table of Authorities definition
5. Backup time                        13. Date format
6. Default printer                  14. Printer list
7. Print options                  15. Printer port
8. Initial font                   16. Printer name

Master .SET vs. User .SET
How and when to create master .SET

The best time to create the master .SET file is just after installing WP. Make sure that an environment file exists and that it has a /PS option to redirect the personal setup files to a directory in which they have all rights (except parental on Novell). Entering WP using the initials {WP will create (or alter) the master .SET file. If the customer has set up their system so WP does not ask for user initials, you can enter WP from a DOS prompt with the command WP/U-{WP to create (or alter) the master .SET file.

Relationship to user .SET
*      New users will get a copy of master .SET.

*      Users already on system can be updated in many areas using NWPSETUP.

ENVIRONMENT FILE--WP{WP}.ENV
The ONLY options that can go in the .ENV file are:

/NT=number (Network Type--Get number form network install guide.)

/PS=driveletter\pathname (Personal .SET files are stored here.)

*      If this environment file is created before the .SET files are created, the .SET files will go to the directory specified with the /PS option. If the .SET files were created first, the customer should manually move the .SET files to the directory specified in the .ENV file with the /PS option.

*      The /PS must use a drive letter (not volume name such as sys:) or remapping occurs causing errors such as "Insert WP2," "Can't find WP.FIL," or "Directory in Use."

*      The environment file should be stored in the directory where the WP.EXE file is.

*      /NT and /PS must be on separate lines

*      Must be stored as an ASCII or DOS text file.

*      If the environment file is not set up properly many strange things will occur
      (e.g., the error "File Not Found --xx" will appear).

NWPSETUP.EXE
1.      "Update Auxiliary File Locations? (Y/N):"

      *      Updates user .SET with whatever is in the location of auxiliary files the in master .SET

2.      "Keyboard Map? (Y/N:)"

      *      Updates user keyboard mapping with what is in master .SET. Can only answer this question if you answer yes to previous question.

3.      "Update Setup Initial Codes? (Y/N):"

      *      Overwrites user Initial Codes and Printer Options with initial codes and Printer Options found in the master .SET. (In WP 5.1 keystrokes are Shift-F1, 4 Initial settings, 5 Initial Codes--note that this is not everything in the Setup menu.)

4.      "Update Network Printers? (Y/N):"

      *      Will update users with all the network printers (not local printers) specified in the master .SET. (After selecting the port in the master .SET, the customer must say yes to network printers to qualify as a network printer. On Novell this means specifying the queue-name or at least a device number. On other networks, the customer would need to reselect the port (e.g., LPT1) and answer Yes to network printers.).

Miscellaneous on NWPSETUP
*      Only works on the users who have .SET files in the common directory who are NOT in WP at the time NWPSETUP is run. (The directory should be specified with a /PS switch in the environment file.)

*      Must be run from the directory where master and all of the user .SET files are located.

*      If the error "System Setup File not Found" occurs it is because the WP{WP}.SET file is not in the directory from which NWPSETUP is being executed. This can be solved by copying NWPSETUP.EXE into the directory where the .SET files are stored and executing NWPSETUP from that directory. This error may also appear if you try to run NWPSETUP on a new installation before any user .SET files are found.

*      If the customer is on a Novell Network, they can start WP using /NT-0 /U-{WP and select lpt1 as the port and answer "Y" to network printer. They can now use NWPSETUP to update local printers.

*      If the error "Bad Command or Filename" occurs it is because the NWPSETUP.EXE cannot be found. This can be solved by copying NWPSETUP.EXE into the directory where the .SET files are stored.

*      If the user .SET has a local printer with the same .PRS file name, the local printer is left as it was and NWPSETUP adds a network printer.

*      If the user .SET file has a network printer with the same .PRS filename, NWPSETUP updates the network printer the name, port, initial font, and path for downloadable fonts. (It does not update the sheet feeder.)

*      NWPSETUP does not change which printer is default for a user (designated by an *).

*      According to the SCN for the 04/29/89 release, NWPSETUP.EXE would copy local and network printer definitions from the WP{WP}.SET file into user .SET files each time it was executed. This caused local printers to be duplicated in the user's printer list. Now local printer definitions found in the WP{WP}.SET file will be ignored by NWPSETUP.EXE.


Edit Menu Items
Listed below is the Item and where it stored (see page 30 of WordPerfect Printer Definition Program: A Technical Reference).

      Item                                          Stored
      Printer Name                              SET
      Port                                          SET
      Sheet Feeder                              PRS
      List of all Sheet Feeders            ALL
      Forms                                    PRS
      Cartridges and Fonts                  ALL
            Marked Cartridges and Fonts      PRS
            Asterisks and Plus Signs            PRS**
      Initial Font (name only)                  SET
            List of Fonts                        PRS
      Path for Downloadable Fonts            SET

**      The printer manual inaccurately says this is stored in the .SET file. The * and + signs are stored in the .PRS.

Answer:

Details:


Product specifications, packaging, technical support and information (*Specifications*) refer to theUnited States retail English version only. Specifications for other versions may vary. All Specifications, claims, features, representations, and/or comparisons provided are correct to the best of our knowledge of the date of publication, but are subject to change without notice.OUR MAXIMUM AGGREGATE LIABILITY TO YOU AND THAT OF OUR DEALERS AND SUPPLIERS IS LIMITED. IT SHALL NOTEXCEED THE AMOUNT YOU PAID TO ACCESS THE INFORMATION. SEE LEGAL DISCLAIMER.