HELP!!!, I AM SO NEW THAT 
Author Message
 HELP!!!, I AM SO NEW THAT



 > Hi netters, I am new to CLIPPER programming and am using CLIPPER
 > 5.01.  I've written a simple database program with it and the program
 > has been running for about 8 months.  However, I have discovered that
 > there is some _JUNKS_ files with random filename (e.g. ABCJGJSK)
 > without extensions got generated in my application's directory.
 > There is about 50 of them and more are generated everyday.  Some of
 > the files actually contained some junk informations in there whereas
 > others are just plain empty (with 0 bytes in size).  It also seems
 > that the application will still work fine if I delete all such _JUNK_
 > files, but the will be some generated the next day.  Does anyone know
 > what is happening?  I am very despriate and REALLY REALLY need some
 > help.  If my post is confusing, let me know and I will e-mail you a
 > more detail description.

Those files are temporary files created by your Clipper application
at runtime.  They should be automatically deleted at the time the
program ends, however.  If your program is terminating abnormally,
crashing or forcing you to reboot your machine before getting back to
the DOS prompt, that might account for it.

You can redirect the creation of temporary files to a RAM disk.  This
improves performance, and prevents the files from staying around
should you have to reboot your machine.  To do this, you can:

1) Put the TEMPPATH parameter on the command line when starting your
program, thus:

     C> MYAPP //TEMPPATH:"D:\"

or

2) Put the TEMPPATH parameter in the CLIPPER environment variable,
thus:

     SET CLIPPER=//TAPPATH:"D:\"

from your AUTOEXEC.BAT file.

Naturally, you can include the TEMPPATH setting with whatever other
Clipper runtime parameters (//F:xxx, etc.) you are already using.

The above examples assume a RAMdisk of D: but yours may be different,
just substitute the appropriate drive/path information inside the
quotes.  Also, the path itself must be in quotes in the TAPPATH
parameter statement.

//Steve//

/=======================+=========================\
|Steve Silverwood       *GEnie:      S.SILVERWOOD |
|Computer Associates    *CompuServe: 76703,3035   |
|300 Corporate Pointe   *Voice:      (310)348-4448|
|Second Floor           *FAX:        (310)348-4401|
|Culver City, CA  90230 *American Online: "KB6OJS"|
|-----------------------+-------------------------+

\=================================================/

 * RM 1.0 B0021 * Live long enough to become a problem to your kids.

----
*--------------------------------------------------------------------------*
| The File Bank BBS - 619-728-4318 - PCBoard v.14.5a/E10 - USR HST & DS    |
| 8 nodes / RIME / Internet / Largest Clipper file collection in the world |
*--------------------------------------------------------------------------*



Sun, 31 Dec 1995 05:26:00 GMT
 HELP!!!, I AM SO NEW THAT


Quote:


> > has been running for about 8 months.  However, I have discovered that
> > there is some _JUNKS_ files with random filename (e.g. ABCJGJSK)
> > without extensions got generated in my application's directory.

[Old post deleted]

Quote:
>Those files are temporary files created by your Clipper application
>at runtime.  They should be automatically deleted at the time the
>program ends, however.  If your program is terminating abnormally,
>crashing or forcing you to reboot your machine before getting back to
>the DOS prompt, that might account for it.

        Thankx for your hints.  However, I believe that my application do
get terminated normally.  I always shutdown the machine AFTER I see the
DOS prompt.  That's why I am so confused.

Michael



Mon, 01 Jan 1996 17:45:54 GMT
 HELP!!!, I AM SO NEW THAT

Quote:

>> > has been running for about 8 months.  However, I have discovered that
>> > there is some _JUNKS_ files with random filename (e.g. ABCJGJSK)
>> > without extensions got generated in my application's directory.
> [Old post deleted]

>>at runtime.  They should be automatically deleted at the time the
>>program ends, however.  If your program is terminating abnormally,
>>crashing or forcing you to reboot your machine before getting back to
>>the DOS prompt, that might account for it.

this is true but even when terminating normally [especially if some sort of
memory swap has been done - eg using the "!" or "run" commands] the created
file is sometimes left behind.  i use wordtech arago 2.5 and if you close the
system without closing off all files and variables ["close all" then
"exit/quit"] this file is sometimes left behind

phil

Quote:
> Michael



Fri, 05 Jan 1996 06:03:24 GMT
 
 [ 3 post ] 

 Relevant Pages 

1. HELP!!!, I am so new that I do

2. HELP!!!, I am so new that I don't know what happened!

3. Help I am new to SQL server

4. I am very new at this and need help

5. Please help, I am new to Jet Engine and SQL

6. Please help, I am new here

7. Help. I am new to database administration

8. I am New.Can you help me?

9. HELP ME - I AM NEW !!!!

10. New line break - ( I am new to the world of sql server)

11. I am new...


 
Powered by phpBB® Forum Software