Try this at the command window:
? GETENV("userprofile")
In VFP9 On my Windows XP that gives me c:\Documents and Settings\david and
in FPDOS it shows the DOS-style shortened version.
Maybe you can just add "\temp" to that and see what happens?
David Stevenson
http://talkingfox.blogspot.com
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Jörg Arand
Sent: Thursday, April 19, 2007 5:14 AM
To: [EMAIL PROTECTED]
Subject: Temp Directory with FPW 2.6 under WinXP
Hallo Profoxer,
I have a Problem with FPW 2.6 and the user!- Temp Directory
On 1 PC with Win XP the TEMP-variable is defined as: &USERPROFILE&\temp
FPW 2.6 getenv("TEMP") and SYS(2023) shows me c:\windows\temp (the
System-Temp)?????
If the temp-dir is hardcoded as c:\temp all is ok!??
Is there an 16Bit-API-Function to determine the User Temp direcctory
Jörg Arand MD
assistant medical director
Neonatology
Children's Hospital
University Tübingen
Calwer Str. 7
D-72076 Tübingen
Tel.+49-(0)7071-2982211
Tel.+49-(0)7071-2980895 (office)
E-mail:Joerg.Arand(AT)med.uni-tuebingen.de
[excessive quoting removed by server]
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.