home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / os / os2 / misc / 29520 < prev    next >
Encoding:
Internet Message Format  |  1992-09-08  |  1.1 KB

  1. Path: sparky!uunet!munnari.oz.au!comp.vuw.ac.nz!actrix!alfheim!frey
  2. From: frey@alfheim.actrix.gen.nz (Bruce Clement)
  3. Newsgroups: comp.os.os2.misc
  4. Subject: Interesting bug
  5. Distribution: world
  6. Message-ID: <715953743snx@alfheim.actrix.gen.nz>
  7. Date: Tue, 08 Sep 92 12:02:23 GMT
  8. Organization: Private System
  9. Lines: 17
  10.  
  11. This is a solved problem which I'm only reporting for the benefit of anyone
  12. else who has similiar problems (Or IBM if they're interested).
  13.  
  14. Until recently I had a .BAT file which was launched from an icon in a WPS folder.
  15.  
  16. When I recompiled one of the programs in the file as an OS/2 native program
  17. I copied the .BAT file to a .CMD file & changed the icon to point to the .CMD.
  18.  
  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.  
  24. Deleting the icon & recreating cured the problem.
  25.  
  26. --
  27. Bruce Clement    (frey@alfheim.actrix.gen.nz  SNEWS/2,  UUPC 1.11q)
  28.