1. getenv() and Windows

1) Is getenv() case-sensative?
Meaning is getenv("EUDIR") the same as
getenv("eudir")?

2) Everybody that has Windows 95+, when you type "set"
at a DOS-prompt, do you have this line shown:

windir=DRIVE:\WINDOWS_DIRECTORY    ?

I want to know if that is default on all systems or if
it depends on what Windows version you use.

Mike Hurley

=====
Think about it-

Bill Gates has enough money to buy everybody in the world a large
pizza.  Most of us don't even have enough money to buy everybody
in the world a 20 minute phone call for 99 cents!

__________________________________________________
Do You Yahoo!?
Send online invitations with Yahoo! Invites.
http://invites.yahoo.com

new topic     » topic index » view message » categorize

2. Re: getenv() and Windows

> ---------------------- Information from the mail
header -----------------------
> Sender:       Euphoria Programming for MS-DOS
<EUPHORIA at LISTSERV.MUOHIO.EDU>
> Poster:       Mike Hurley <mike_hurley_2 at YAHOO.COM>
> Subject:      getenv() and Windows
> --------------------------------------------------------------------------
-----
> 1) Is getenv() case-sensative?
  Not case sensitive.

> 2) Everybody that has Windows 95+, when you type "set"
> at a DOS-prompt, do you have this line shown:
>
> windir=DRIVE:\WINDOWS_DIRECTORY    ?
>
> I want to know if that is default on all systems or if
> it depends on what Windows version you use.

    Check for both. windir and winbootdir.  I recently read from
a very old PC Magazine that this is default.  They even supplied
a fancy batch file that detects if windows is currently running.
:)

> Mike Hurley
>

        Lucius L. Hilley III
        lhilley at cdc.net
+----------+--------------+--------------+
| Hollow   | ICQ: 9638898 | AIM: LLHIII  |
|  Horse   +--------------+--------------+
| Software | http://www.cdc.net/~lhilley |
+----------+-----------------------------+

new topic     » goto parent     » topic index » view message » categorize

3. Re: getenv() and Windows

My win95 gives me: windir=DRIVE:\WINDOWS

I think the folder display would use a tree-view control.

new topic     » goto parent     » topic index » view message » categorize

4. Re: getenv() and Windows

----- Original Message -----
From: "Mike Hurley" <mike_hurley_2 at YAHOO.COM>
To: <EUPHORIA at LISTSERV.MUOHIO.EDU>
Sent: Friday, April 21, 2000 9:02 AM
Subject: getenv() and Windows


> 1) Is getenv() case-sensative?
> Meaning is getenv("EUDIR") the same as
> getenv("eudir")?
>
> 2) Everybody that has Windows 95+, when you type "set"
> at a DOS-prompt, do you have this line shown:
>
> windir=DRIVE:\WINDOWS_DIRECTORY    ?

No, i get the absolute path. And it's not called "windir". Knowing MS, it's
different on every puter x every upgrade.

Kat

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu