TIP: Click on subject to list as thread! ANSI
echo: clipper
to: BRYAN SMITH
from: RAYMOND PESEK
date: 1996-11-11 19:00:00
subject: Is it windows ?

BS ->Does anybody know a way in which a Clipper program which is running 
nder
   ->Windows could determine that it is running in a Windows DOS box, and not 
in
   ->raw DOS ?
A fast and usually accurate way is to test for an environment variable
named WINDIR . When Windows is running, you can do a SET from the DOS
prompt and see WINDIR points to the directory where Windows is running
from.
Otherwise there are third party functions available to do this.
Raymond Pesek
 * 1st 2.00 #2448 * Moderator - Clipper Echo
--- InterEcho 1.18
---------------
* Origin: PC-Ohio PCBoard * Cleveland, OH * 216-381-3320 (1:157/200)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.