PDA

View Full Version : Excessive .tmp files in Palettes folder on shared network



kevinc.117928
2006-08-09, 07:10 PM
I am finding an excessive amount (5,000 per day) of .tmp files on our server in a shared folder called "Palettes". As far as I know no one is directing their temp files to this folder and the files are all 0kb in size. What can be causing such an excessive amount of .tmp files?
We only have 20 or so Autocad 2006 users sharing custom palettes and blocks on this drive.

rkmcswain
2006-08-09, 10:34 PM
I am finding an excessive amount (5,000 per day) of .tmp files on our server in a shared folder called "Palettes". As far as I know no one is directing their temp files to this folder and the files are all 0kb in size. What can be causing such an excessive amount of .tmp files?
We only have 20 or so Autocad 2006 users sharing custom palettes and blocks on this drive.

These users must have been granted write access, but not delete access. We used the have the same problem here.

As far as I could tell as the user hits a tool palette, a tmp file is generated, but it can't be deleted since the user doesn't have delete rights.

No worries - just create a BAT file to kill them.

del /F /S /Q \\server\share\share2\blah\blah\*.tmp

...and schedule this to run as often as needed.

robert.1.hall72202
2006-08-10, 12:12 PM
I am using the following:

Del *.log /s /a

what are /F and /Q for?

rkmcswain
2006-08-10, 12:20 PM
I am using the following:

Del *.log /s /a

what are /F and /Q for?


c:\>DEL /?
Deletes one or more files.

DEL [/P] [/F] [/S] [/Q] [/A[[:]attributes]] names
ERASE [/P] [/F] [/S] [/Q] [/A[[:]attributes]] names

names Specifies a list of one or more files or directories.
Wildcards may be used to delete multiple files. If a
directory is specified, all files within the directory
will be deleted.

/P Prompts for confirmation before deleting each file.
/F Force deleting of read-only files.
/S Delete specified files from all subdirectories.
/Q Quiet mode, do not ask if ok to delete on global wildcard
/A Selects files to delete based on attributes
attributes R Read-only files S System files
H Hidden files A Files ready for archiving
- Prefix meaning not

If Command Extensions are enabled DEL and ERASE change as follows:

The display semantics of the /S switch are reversed in that it shows
you only the files that are deleted, not the ones it could not find.

c:\>

kevinc.117928
2006-08-11, 10:52 PM
Thanks, R.K. It worked like a charm.