Re: $ENV HOME on windows
- From: "Petr Vileta" <stoupa@xxxxxxxxxxxxx>
- Date: Thu, 26 Apr 2007 02:52:45 +0200
"Ilya Zakharevich" <nospam-abuse@xxxxxxxxx> píše v diskusním příspěvku news:f0opmc$27r$1@xxxxxxxxxxxxxxxxxxxxx
What puzzles me deep is why Perl on Windows is not faking $ENV{HOME}On my WinXP-Pro this environment variable is not.
if $ENV{HOMEPATH} and $ENV{HOMEPATH} are both present... I think this
would remove at least 10-20% of porting problems...
From which hell get you HOME variable? :-)
Run cmd.exe
C:\>set
ALLUSERSPROFILE=C:\Documents and Settings\All Users
APPDATA=C:\Documents and Settings\Petr\Dataap~1
CLIENTNAME=Console
COMMANDER_PATH=D:\totalcmd
CommonProgramFiles=C:\Program Files\Common Files
COMPUTERNAME=PETR
ComSpec=C:\WINDOWS\system32\cmd.exe
FP_NO_HOST_CHECK=NO
HOMEDRIVE=C:
HOMEPATH=\Documents and Settings\Petr
LOGONSERVER=\\PETR
NUMBER_OF_PROCESSORS=1
OPENSSL_CONF=C:\OpenSSL\bin\openssl.cnf
OS=Windows_NT
Path=D:\Perl\bin\;D:\php;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.pyo;.pyc;.pyw;.py
PERL5LIB=E:\Progra~1\PDK60\lib\
PERLDB_OPTS=RemotePort=127.0.0.1:2000
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 15 Model 4 Stepping 1, GenuineIntel
PROCESSOR_LEVEL=15
PROCESSOR_REVISION=0401
ProgramFiles=C:\Program Files
PROMPT=$P$G
SESSIONNAME=Console
SystemDrive=C:
SystemRoot=C:\WINDOWS
TEMP=L:\Temp
TMP=L:\Temp
USERDOMAIN=[cenzored]
USERNAME=Petr
USERPROFILE=C:\Documents and Settings\Petr
windir=C:\WINDOWS
C:\>
--
Petr Vileta, Czech republic
(My server rejects all messages from Yahoo and Hotmail. Send me your mail from another non-spammer site please.)
.
- Follow-Ups:
- Re: $ENV HOME on windows
- From: anno4000
- Re: $ENV HOME on windows
- References:
- $ENV HOME on windows
- From: Bob
- Re: $ENV HOME on windows
- From: Dr.Ruud
- Re: $ENV HOME on windows
- From: Ilya Zakharevich
- $ENV HOME on windows
- Prev by Date: Re: FAQ 4.32 How do I strip blank space from the beginning/end of a string?
- Next by Date: Re: Read xml file and write data to a txt file using PERL.... urgent
- Previous by thread: Re: $ENV HOME on windows
- Next by thread: Re: $ENV HOME on windows
- Index(es):
Relevant Pages
|