Please MAIL to Stefan....@eikon.e-technik.tu-muenchen.de
in a win95 dos box, there is an environment variable called cmdline.
combining this with windir or winbootdir (this one is also win95
specific) should work.
--
Sinan
*******************************************************************
A. Sinan Unur WWWWWW
|--O+O
mailto:sinan...@cornell.edu C ^
http://www.people.cornell.edu/pages/asu1/ \ ~/
Unsolicited e-mail is _not_ welcome, and will be billed for.
*******************************************************************
//--How can I detect whether a program runs in a WIN95 DOS-BOX or not ?
//--I'm not interested in a Win3.X DOS-BOX Check.
Just check the current windows version.
Call INT 02Fh/AX=01600h
if AL returns 04 and AX returns 00h then the program runs in a win '95
dos-box.
//--Please MAIL to Stefan....@eikon.e-technik.tu-muenchen.de
I hope this helped.
-------------------------------------------------------
Ned...@WorldOnline.nl
WWW: http://www.worldonline.nl/~nederm
AKA Mighty Research
Sig. version 1.05.934.352a build 7831
I think 4DOS offers the same thing.