Path: utzoo!utgpu!cunews!micor!latour!ecicrl!clewis From: clewis@ferret.ocunix.on.ca (Chris Lewis) Newsgroups: comp.unix.msdos Subject: Re: VPIX compatability questions Message-ID: <1199@ecicrl.ocunix.on.ca> Date: 24 Jan 91 05:21:23 GMT References: <6025@spdcc.SPDCC.COM> <1991Jan17.041520.24159@tmsoft.uucp> <2546@westmark.WESTMARK.COM> Organization: Elegant Communications Inc., Ottawa, Canada Lines: 15 In article <2546@westmark.WESTMARK.COM> dave@westmark.WESTMARK.COM (Dave Levenson) writes: >In article <1991Jan17.041520.24159@tmsoft.uucp>, mshiels@tmsoft.uucp (Michael A. Shiels) writes: >> Is there a way to detect you are running inside of VPix? >You could try to write to a file in the root filesystem. >You'll be allowed if you're in real MS-DOS, and not if you're under >VP/ix, unless VP/ix was invoked by root. I'm not sure whether some variants of VP/ix run differently by convention, but you could often do something like test the existance of z:\unix or z:\xenix. -- Chris Lewis, Phone: (613) 832-0541, Internet: clewis@ferret.ocunix.on.ca UUCP: uunet!mitel!cunews!latour!ecicrl!clewis Moderator of the Ferret Mailing List (ferret-request@eci386)