home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / os / os2 / misc / 29587 < prev    next >
Encoding:
Text File  |  1992-09-08  |  1.6 KB  |  38 lines

  1. Newsgroups: comp.os.os2.misc
  2. Path: sparky!uunet!munnari.oz.au!bruce.cs.monash.edu.au!monu6!yoyo.cc.monash.edu.au!parry
  3. From: parry@yoyo.cc.monash.edu.au (Tom J Parry)
  4. Subject: Re: Interesting bug
  5. Message-ID: <1992Sep8.235313.17516@monu6.cc.monash.edu.au>
  6. Originator: parry@yoyo.cc.monash.edu.au
  7. Sender: news@monu6.cc.monash.edu.au (Usenet system)
  8. Organization: Monash University, Melb., Australia.
  9. References: <715953743snx@alfheim.actrix.gen.nz>
  10. Date: Tue, 8 Sep 1992 23:53:13 GMT
  11. Lines: 25
  12.  
  13. Bruce Clement (frey@alfheim.actrix.gen.nz) wrote:
  14. > This is a solved problem which I'm only reporting for the benefit of anyone
  15. > else who has similiar problems (Or IBM if they're interested).
  16. > Until recently I had a .BAT file which was launched from an icon in a WPS folder.
  17. > When I recompiled one of the programs in the file as an OS/2 native program
  18. > I copied the .BAT file to a .CMD file & changed the icon to point to the .CMD.
  19. > While running the file, I noticed some strange results, and eventually discovered
  20. > that there was no PATH. Further investigation revealed that there were no
  21. > environment variables from CONFIG.SYS, and the DOS settings from the icon's
  22. > previous existance were the only environment present.
  23. > Deleting the icon & recreating cured the problem.
  24.  
  25. This has been reported before. If any DOS settings are changed from their
  26. DEFAULTS and then the dos session changed to an OS/2 session, then those
  27. will be the only variables present in your environment. You can just make
  28. the OS/2 icon a DOS session, reset the settings to their defaults and
  29. switch to OS/2 again and it will be fine.
  30.  
  31. -- 
  32. Tom J Parry.
  33. Your reality is a figment of my imagination.
  34.