Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Temp files
Message
From
28/09/1997 01:38:05
 
 
To
26/09/1997 16:54:44
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Title:
Miscellaneous
Thread ID:
00051865
Message ID:
00052030
Views:
32
>I have a foxpro 2.5b application that uses the Sys(3) function to create temporary databases and
>text files. When I create an updated version of the exe file and place it into an existing application's
>directory, I get error messages that a temp file, ex 54909706.txt, already exists. When this happens,
>there are no previous temp files in the directory and I can see this new file in the directory
>because the application just created it. Is there anyway that the Foxpro ESL library file is
>storing this number twice when trying to assign a unique one?

Glen,
Pat Adams wrote a routine a while back to generate random file names that I believe combined the 1st 4 chars from sys(3) and the last 4 chars from a sys(16), to create a more random filename..

I can lookup the routine for you if you like..

Thanx!

Tony Miller
Vancouver, Wa
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform