Disappearing server space

What are the dates on the files?

The files should be purged automatically when they are done being used, however sometimes they get orphaned. Most of the time when Epicor has done an install in the past few years they put a vbs file(VantageWrk.vbs) and set it to run automatically each day to clean out anything with a file date older than a set number of days, usually somewhere between 2 and 7.

This is the text of the script, just edit the SFolder to be your mfgwrk803 folder as well as the -4 in the dtCheck line to the number of days "old" you would want a file deleted:

On Error Resume Next

Dim sFolder

sFolder = "E:\epicor\mfgwrk803\"

dtCheck = DateAdd("d",-4,Date)

Set objFileSys = CreateObject("Scripting.FileSystemObject")
Set objFolder = objFileSys.GetFolder(sFolder)

DeleteOldFiles objFolder

Sub DeleteOldFiles(myFolder)
Set objFiles = myFolder.Files

For Each objFile In objFiles
If objFile.DateLastModified < dtCheck Then
objFile.Delete
End If
Next
End Sub



----- Original Message -----
From: "Calvin Krusen" <ckrusen@...>
To: <vantage@yahoogroups.com>
Sent: Monday, December 01, 2008 12:13 PM
Subject: [Vantage] Disappearing server space


> Our server is has run critically low on disk space. There is
> approximately 13 GB in the mfgwrk803 folder, with two files > 4 GB.
>
> The file names are "DBIxxxxx." and have a corresponding "SRTxxxxx."
> file as well (neither have an extension).
>
> Can these be deleted?
>
> If they are temp files, what process should be automatically purging
> them?
>
> Thanks in advance,
>
> Calvin Krusen
>
>
> ------------------------------------
>
> Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must have already linked your email address to a yahoo id to enable access. )
> (1) To access the Files Section of our Yahoo!Group for Report Builder and Crystal Reports and other 'goodies', please goto: http://groups.yahoo.com/group/vantage/files/.
> (2) To search through old msg's goto: http://groups.yahoo.com/group/vantage/messages
> (3) To view links to Vendors that provide Vantage services goto: http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
>
>
>

[Non-text portions of this message have been removed]
Our server is has run critically low on disk space. There is
approximately 13 GB in the mfgwrk803 folder, with two files > 4 GB.

The file names are "DBIxxxxx." and have a corresponding "SRTxxxxx."
file as well (neither have an extension).

Can these be deleted?

If they are temp files, what process should be automatically purging
them?

Thanks in advance,

Calvin Krusen