Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SYS(2023) - Temporary Path
Message
De
30/01/2007 18:04:06
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Installation et configuration
Titre:
SYS(2023) - Temporary Path
Divers
Thread ID:
01190705
Message ID:
01190705
Vues:
67
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform