Hi Lorne,
Well, to give you the best advice it would have been good to know which
commands you ecactly are using. But anyway here is some notes, that might
help:
- If using SQL, allways use the "Select ... Into CUR_SEL NoSelect" syntax
to avoid ending up with a lot of temporary queries. The "Into CUR_SEL
NoSelect" gives you a way of naming the query you create and in this way
the next select will "overwrite" the previous query. The "NoSelect" at the
end makes the select faster because MapInfo doesn't have to highlight the
selected records. Of course if you need the selection leave this out.
- If you want to delete files from MapBasic the syntax is Kill filename.
Where filename is the name and path of the file. Please note that it is
only possible to delete a single file at a time.
- The path to the temp directory can be retrieved using the PathToDirectory
$(TempFileName$("")) syntax.
I hope some of these items can give you a hint, else please supply some
more specifications on the commands used in the MapBasic window.
Peter
------------------------------------------------------------------------------------------------
Peter Horsb�ll M�ller, GIS-Developer
Kampsax A/S, GIS Software & Solutions, Rugaardsvej 55, DK-5000 Odense,
Denmark
tlf: + 45 63 13 50 13, dir: + 45 63 13 50 08, fax: + 45 63 13 50 90
mail: [EMAIL PROTECTED], http://www.mapinfo.dk, http://www.kampsax.dk
------------------------------------------------------------------------------------------------
Lorne Ketch wrote:
I am trying to automate a large process through the MapBasic Window in
MapInfo (don't have access to MapBasic). Large numbers of ~mapxxxx.tmp
files are being created in C:\windows\temp as this process runs. MapInfo
hangs when the ~map9999.tmp is reached (can't seem to create more than
10,000 temp files.
Is there a way to blow the .tmp files away as the process runs?
- Can I use a Mapbasic script line that will send a Windows/DOS erase
command?
- or, Is there a Mapbasic command that will automatically purge older tmp
files?
_______________________________________________________________________
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, send e-mail to [EMAIL PROTECTED] and
put "unsubscribe MapInfo-L" in the message body.