home *** CD-ROM | disk | FTP | other *** search
/ The Best of Windows 95.com 1996 December / WIN95_DEC_1996_4.ISO / patches / ENVARS.EXE / README.TXT < prev    next >
Text File  |  1995-08-16  |  3KB  |  71 lines

  1. Tools for utilizing MS-DOS environment variables in Windows 95
  2.  
  3.  
  4. PLEASE READ
  5. -------------------------------------------------
  6. By using the following Utility (the "Software"), you 
  7. are hereby agreeing to the included license agreement.  
  8. Please review the file LICENSE.TXT.
  9.  
  10.  
  11. HOW TO INSTALL
  12. --------------
  13. 1) Double-click the file ENVARS.EXE. This will cause it to 
  14.    de-compress itself.
  15.  
  16. 2) Copy the SHORTCUT.EXE and WINSET.EXE files to the destination
  17.    folder of you choice.
  18.  
  19. 3) Once you have copied the files to their destination, you 
  20.    can delete the files from the folder that ENVARS.EXE was run.
  21.  
  22.  
  23. HOW TO USE
  24. ----------
  25. This software is intended for use under the following circumstances:
  26.  
  27. 1. You must set environment variables in a Windows NT Logon Script.
  28.  
  29. 2. You use environment variables in the command line of programs,
  30. or alternate drive mappings between identical servers for load balancing
  31. network traffic.
  32.  
  33. 3. For another reason you need to disable the link tracking feature
  34.  of a shortcut.
  35.  
  36. The logon script processor for Windows NT logon scripts does not support
  37. setting environment variables in Windows 95. WINSET.EXE is a Win32 console
  38. application that overcomes this limitation. When called from a batch file 
  39. (including an NT Logon script) it sets an environment variable in Window's 
  40. global environment. Please note that WINSET.EXE does not set an
  41. environment variable in the batch file's environment, only Window's global
  42. environment. The syntax for WINSET.EXE is the same as the SET command in
  43. DOS, with one exception. It won't list all the environment variables set.
  44. A convenient way to view Window's global environment variables is to start
  45. an MS-DOS Prompt (duplicating the global environment variables) then use
  46. the SET command.
  47.  
  48.  
  49. Network clients often have shortcuts to programs that reside on network
  50. servers.  Although shortcut files support the use of variables in the working
  51. directory, they do not support them in the command line.  Therefore, this
  52. cannot be used for load balancing between servers.  Another method employed
  53. by network administrators is to alternate drive mappings to different
  54. servers that are mirrors of each other.  Because shortcut files track the
  55. links to the original network resource, this method is also defeated.
  56. SHORTCUT.EXE permits this method by disabling the "link tracking" feature
  57. of Shortcut files.  Running shortcut.exe with the -s switch on a target
  58. shortcut file will prevent the shortcut from finding the original server
  59. associated with the drive letter.
  60.  
  61. Example:
  62.         shorcut -c -s -n myshortcut.lnk
  63.  
  64. This example will disable the link tracking feature of myshortcut.lnk. Where
  65. myshortcut.lnk is the long name of the shortcut file.
  66.  
  67. For further documentation of shortcut.exe execute the command
  68. "shortcut.exe -?". 
  69.  
  70. Do not use shortcut.exe to dump extended characters.
  71.