Temp Directory Paths

  • Thread starter Thread starter David Lee
  • Start date Start date
D

David Lee

Hi

I'm running Windows 2000 Server SP4 with Terminal Services in Application
Mode. I am using this to run an application that extracts date from our
system and uses Paradox 8 to produce formatted reports from this data.

The problem I've got is that the users are using c:\documents and
settings\%username%\Windows\Temp as their temp directories. This path
appears to be too long for Paradox to access hence the reports do not run.
From what I read on MS Knowledge base, the users should be using a
subdirectory of C:\winnt\temp. This is a problem because the string becomes
too long when Paradox adds path name + table name + sort name, and it can't
handle it so the report fails.

What I can't understand is that this used to work fine! I had never thought
to check the temp dir settings previously, but can only assume that it was
working correctly and assignment each user a dir under c:\winnt\temp.

I've checked that "Use temporary folders per session" is ticked, and I've
checked the setting using flattemp and it seems fine. I'm a bit lost now.
Can anyone suggest what I might check out next? thanks!

dave
 
Further to this I've tried logging in as a user and checking what
environment variables are used by checking the output of 'set'. Attached is
this output. It all looks okay but the applications are still using
c:\documents and settings\test.user\windows\temp not a sub-dir of
c:\winnt\temp, which is how I understand it should work...

ALLUSERSPROFILE=C:\Documents and Settings\All Users
APPDATA=C:\Documents and Settings\test.user\Application Data
CommonProgramFiles=C:\Program Files\Common Files
COMPUTERNAME=COLAPP02
ComSpec=C:\WINNT\system32\cmd.exe
HOMEDRIVE=C:
HOMEPATH=\Documents and Settings\test.user
LOGONSERVER=\\COLCHESTER05
NUMBER_OF_PROCESSORS=1
OS=Windows_NT
Os2LibPath=C:\WINNT\system32\os2\dll;
Path=D:\oracle\ora92\bin;C:\Program Files\Oracle\jre\1.3.1\bin;C:\Program
Files\Oracle\jre\1.1.8\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem
;C:\Program Files\Common Files\Network Associates\VirusScan
Engine\4.0.xx\;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 15 Model 2 Stepping 7, GenuineIntel
PROCESSOR_LEVEL=15
PROCESSOR_REVISION=0207
ProgramFiles=C:\Program Files
PROMPT=$P$G
SESSIONNAME=Console
SystemDrive=C:
SystemRoot=C:\WINNT
TEMP=C:\WINNT\TEMP
TMP=C:\WINNT\TEMP
USERDNSDOMAIN=gray-dawes.co.uk
USERDOMAIN=GRAY-DAWES
USERNAME=test.user
USERPROFILE=C:\Documents and Settings\test.user
windir=C:\WINNT
 
Back
Top