Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Temp files
Message
De
08/10/1999 10:54:52
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
08/10/1999 10:45:30
Oleg Khvalin
The Sutherland Group Ltd
Rochester, New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00274224
Message ID:
00274235
Vues:
40
>I am trying to redirect tempfiles from C to D drive, where I have much more space.
>I put following line into CONFIG.FPW:
>TMPFILES=d:\TEMPFILES
>But GetEnv('temp') still shows C:\WINDOWS\TEMP and my query fails because of space.
>
>What I am missing?
>TIA
>Oleg


Oleg,
With tmpfiles usage, it's not necessary to add path and actually it's ignored :
tmpfiles = d:\mydir1
tmpfiles = d:\mydir2
tmpfiles = d:\mydir3

All point to just drive d:. If you also want directory to be significiant the you should use :
editwork = d:\tempfiles
progwork = d:\tempfiles
sortwork = d:\tempfiles

OTOH getenv("temp") is not the same thing as your "temp". It's OS "temp" directory and it would again be "C:\WINDOWS\TEMP" in your case.

You could check like this :
select * from sometable into cursor myCursor nofilter
? dbf("myCursor") && This would be in your temp directory

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform