Type the following on the command-line (cmd.exe):

  echo %temp%

This will tell you the value of the "temp" environment variable. As you'll
see, it will point to something like "%USERPROFILE%\Local Settings\Temp".
(%USERPROFILE% is another environment variable and will have been expanded
for you.)

You can set any environment variables (new and old ones) under the
command-line, but I don't recommend this since it will only be available for
that session. (There's some way of making it global from here, but don't ask
me how.)

Instead, under W2k, go to "System Properties" (available from the pop-up
menu on "My Computer") | "Advanced" | "Environment Variables" and edit the
user variables there. Note that TMP variable should by convention point to
the same location as TEMP. Also note that the TEMP system environment
variable will probably not be affected by the length restriction since it
usually points to "C:\WinNT\Temp"... (By the way, I don't think it works if
you make TMP = %TEMP%.)

Note that running applications won't pick up any environment variable
changes. My recommendation, if you do change a system environment variable
(such as TEMP), is to reboot the system; and if you only change a user
variable, to logout and log back in.


-Andreas

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of John
Sent: Tuesday, 4 March 2003 11:57
To: Multiple recipients of list delphi
Subject: [DUG]: QuickReport on XP


Hi all,
Using QuickReport on Win2000 and XP requires (according to
http://www.qusoft.com/) the following:
        Standard Users and Windows 2000 and XP
        The temp environment variables are too long ( 32 bytes is the limit
pre QR3.5)
        Solution : create a new temp directory that has a short path and set
up a new %TEMP%

        Can anybody point me in the right direction what temp directory they
are referring to (\Windows\TEMP ???)?
and what about the: set up a new %TEMP% ???
TIA
John



---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

Reply via email to