Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SYS(2023) - Temporary Path
Message
From
30/01/2007 18:04:06
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Installation, Setup and Configuration
Title:
SYS(2023) - Temporary Path
Miscellaneous
Thread ID:
01190705
Message ID:
01190705
Views:
66
I was given a problem to resolve and found that the offending code was
COPY TO &g_proglist TYPE DELIMITED
Of course, the variable contained a space and I know how to fix that. What I'm curious about is how that space got there. The variable is built as follows
	G_TMPDIR = Sys(2023)
	G_TMPDIR = Iif(Right(G_TMPDIR,1) = '\', G_TMPDIR, G_TMPDIR + '\')
	g_proglist = g_tmpdir + SYS(2015) + ".txt"
	SELECT progtemp
	COPY TO (g_proglist) TYPE delimited
On my workstation SYS(2023) returns a path with all short names
C:\DOCUME~1\RPUPKO\LOCALS~1\TEMP
but on the user's machine, the path was kind of mixed
C:\DOCUME~1\USERNAME\LOCAL SETTINGS\TEMP
There is no CONFIG.FPW which establishes a TMPFILES directory. I'm curious if anybody knows what Windows setting controls if SYS(2023) returns a path with Long or Short directory names.

Thanks to all........Rich
Next
Reply
Map
View

Click here to load this message in the networking platform