Microsoft KB Archive/81149

= DEFAULT.INI Unable to Save Pictures in Picture File Directory =

Article ID: 81149

Article Last Modified on 11/16/2006

-

APPLIES TO


 * Microsoft Paintbrush

-



This article was previously published under Q81149



SUMMARY
On page 67 of the &quot;Microsoft Paintbrush User's Guide&quot; version 4.0 manual, it is implied that you can use the DEFAULT.INI file to set the picture file directory. Such a feature would be useful if you want to keep your drawings in a directory other than \PBRUSH. However, you cannot use the DEFAULT.INI file to set the picture file directory. Instead, you can use the method outlined below.

Note that Paintbrush uses PBRUSH.INI instead of DEFAULT.INI as the manual states on page 67. For more information, query on the following words in the Microsoft Knowledge Base:

PBRUSH.INI and DEFAULT.INI



MORE INFORMATION
Because the PBRUSH.INI file does not provide a way to change the picture file directory, Paintbrush defaults to the \PBRUSH directory during file operations. You may want to change the default directory. You can do this by moving a few of the Paintbrush files and changing the PAINT.BAT file that launches Paintbrush. The files that need to be moved into the picture file directory are as follows:

PAINTBR.OV1

PBRUSH.HLP

PBSYS.OV1

SYS.FNT

PBRUSH.INI

If the PBRUSH.HLP file is not moved, Paintbrush will display an error message when you try to access online Help. If the PBRUSH.INI file is not moved, the display will revert to default values for the colors. These two files are based on your preference. The PBSYS.OV1 and SYS.FNT files MUST be in the picture file directory or Paintbrush will not start.

Next, you must make changes to the PAINT.BAT file in order for Paintbrush to load correctly. Below is a sample PAINT.BAT file as created by the Pbsetup program:   FRIEZE HP300P P1 0000 ACNQ 640 480 4 PBRUSH M ACNQ 640 480 4 FRIEZE Assuming you created a Picture file directory under \PBRUSH called PICTURE, you could change the above PAINT.BAT file to look like the following:   FRIEZE HP300P P1 0000 ACNQ 640 480 4 CD PICTURE C:\PBRUSH\PBRUSH M ACNQ 640 480 4 CD .. FRIEZE (Note that if either the drive or directory that Paintbrush is installed in is different than C:\PBRUSH, the third line of the batch file above should reflect that.)

When this is done, you can start Paintbrush normally (for example, change to the \PBRUSH directory and type paint ). The batch file you created starts Frieze, changes to the picture file directory, and then loads Paintbrush. This procedure will make the picture file directory the default directory for all Paintbrush file operations.

Additional query words: 4.00

Keywords: KB81149

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.