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