Обсуждение: Re: File names for client interfaces

Поиск
Список
Период
Сортировка

Re: File names for client interfaces

От
"Magnus Hagander"
Дата:
>Here are the open items I found in the current SSL discussion:
>
>---------------------------------------------------------------
>------------
>
>remove the leading dot from file names
>find local directory on NT-based systems using SHGetFolderPath()
>  use "Application Data" or just the user home directory
>  what to use on Win 9x?  no function and no %USERPROFILE%

This needs to be SHGetSpecialFolderPath(). Note the "special". To work
on older versions of Windows as well.

This API above is fully supported on 98 and ME, as well as 2000, XP and
2003. Supported on 9x and NT4 if you have IE 4.0 or later installed
(which is also needed for almost anything else on these platforms
today).

>  Win98 has:
>    TMP=C:\WINDOWS\TEMP
>    TEMP=C:\WINDOWS\TEMP
>    PROMPT=$p$g
>    winbootdir=C:\WINDOWS
>    COMSPEC=C:\WINDOWS\COMMAND.COM

Is your 98 installed with multiple user profiles? IIRC (and it was long
ago, so I can be wrong) yuo can install it either for multiple users
with logins (ok, ok, ctrl-esc gets you past the login, but hey, it gives
you your own desktop at least) *or* singleuser system.


//Magnus

Re: File names for client interfaces

От
Bruce Momjian
Дата:
Magnus Hagander wrote:
> >Here are the open items I found in the current SSL discussion:
> >
> >---------------------------------------------------------------
> >------------
> >
> >remove the leading dot from file names
> >find local directory on NT-based systems using SHGetFolderPath()
> >  use "Application Data" or just the user home directory
> >  what to use on Win 9x?  no function and no %USERPROFILE%
>
> This needs to be SHGetSpecialFolderPath(). Note the "special". To work
> on older versions of Windows as well.
>
> This API above is fully supported on 98 and ME, as well as 2000, XP and
> 2003. Supported on 9x and NT4 if you have IE 4.0 or later installed
> (which is also needed for almost anything else on these platforms
> today).

OK, great.

> >  Win98 has:
> >    TMP=C:\WINDOWS\TEMP
> >    TEMP=C:\WINDOWS\TEMP
> >    PROMPT=$p$g
> >    winbootdir=C:\WINDOWS
> >    COMSPEC=C:\WINDOWS\COMMAND.COM
>
> Is your 98 installed with multiple user profiles? IIRC (and it was long
> ago, so I can be wrong) yuo can install it either for multiple users
> with logins (ok, ok, ctrl-esc gets you past the login, but hey, it gives
> you your own desktop at least) *or* singleuser system.

It is installed as single user and I supressed the login on startup.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073