Tools for utilizing MS-DOS environment variables in Windows 95 PLEASE READ ------------------------------------------------- By using the following Utility (the "Software"), you are hereby agreeing to the included license agreement. Please review the file LICENSE.TXT. HOW TO INSTALL -------------- 1) Double-click the file ENVARS.EXE. This will cause it to de-compress itself. 2) Copy the SHORTCUT.EXE and WINSET.EXE files to the destination folder of you choice. 3) Once you have copied the files to their destination, you can delete the files from the folder that ENVARS.EXE was run. HOW TO USE ---------- This software is intended for use under the following circumstances: 1. You must set environment variables in a Windows NT Logon Script. 2. You use environment variables in the command line of programs, or alternate drive mappings between identical servers for load balancing network traffic. 3. For another reason you need to disable the link tracking feature of a shortcut. The logon script processor for Windows NT logon scripts does not support setting environment variables in Windows 95. WINSET.EXE is a Win32 console application that overcomes this limitation. When called from a batch file (including an NT Logon script) it sets an environment variable in Window's global environment. Please note that WINSET.EXE does not set an environment variable in the batch file's environment, only Window's global environment. The syntax for WINSET.EXE is the same as the SET command in DOS, with one exception. It won't list all the environment variables set. A convenient way to view Window's global environment variables is to start an MS-DOS Prompt (duplicating the global environment variables) then use the SET command. Network clients often have shortcuts to programs that reside on network servers. Although shortcut files support the use of variables in the working directory, they do not support them in the command line. Therefore, this cannot be used for load balancing between servers. Another method employed by network administrators is to alternate drive mappings to different servers that are mirrors of each other. Because shortcut files track the links to the original network resource, this method is also defeated. SHORTCUT.EXE permits this method by disabling the "link tracking" feature of Shortcut files. Running shortcut.exe with the -s switch on a target shortcut file will prevent the shortcut from finding the original server associated with the drive letter. Example: shorcut -c -s -n myshortcut.lnk This example will disable the link tracking feature of myshortcut.lnk. Where myshortcut.lnk is the long name of the shortcut file. For further documentation of shortcut.exe execute the command "shortcut.exe -?". Do not use shortcut.exe to dump extended characters.