Article ID: 140574 - Last Review: November 15, 2006 - Revision: 1.1

How to Set Global Environment Variables in Windows 95

System TipThis article applies to a different operating system than the one you are using. Article content that may not be relevant to you is disabled.
This article was previously published under Q140574
Expand all | Collapse all

SUMMARY

This article describes how to set global environment variables within Windows 95.

MORE INFORMATION

The CD-ROM version of Windows 95 includes a tool called Winset.exe. This tool is designed to set environment variables in Microsoft Windows NT login scripts, but you can also use it to set global environment variables in Windows 95. The syntax for Winset.exe is the same as for the SET command.

For example, to set a global TEMP environment variable within Windows 95, follow these steps:
  1. Copy the Winset.exe file from the Admin\Apptools\Envvars folder on the Windows 95 CD-ROM to the Windows folder on your hard disk.
  2. Click the Start button, and then click Run.
  3. Type the following line in the Open box, and then click OK:
    winset temp=c:\temp
Note that running the Winset.exe tool at a command prompt has no effect in the current instance of the command prompt. A new command prompt must be launched before the change is apparent.

For additional information, please see the Readme.txt file in the Admin\Apptools\Envvars folder on the Windows 95 CD-ROM.

APPLIES TO
  • Microsoft Windows 95
Keywords: 
KB140574
Retired KB ArticleRetired KB Content Disclaimer
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.