Question about mfgwrk80 folder on the server

Paul,

Thanks very much! I appreciate the script. Maybe that Sysadmin class
is worth the money...

Ron C.

--- In vantage@yahoogroups.com, "manzi_paul" <pmanzi@...> wrote:
>
> It is my understanding that you can delete all of the files in
that
> folder. It is just a temporary work folder. In fact, I took the
> Sysadmin class in Irvine and was given a script that cleans up
that
> folder. It deletes any file that is more than six days old. The
file
> was named VantageWRK.vbs, below is the text of that file.
>
>
> On Error Resume Next
>
> Dim sFolder
>
> sFolder = "C:\epicor\mfgwrk80\"
>
> dtCheck = DateAdd("d",-6,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
>
>
> Paul
>
>
> --- In vantage@yahoogroups.com, "swinky68" <rcole@> wrote:
> >
> > Hello all,
> >
> > Currently running 8.00.809a SQL. The c:\epicor\mfgwrk80 folder
on the
> > server has over 15Gb of files in it. Most of them start with
either
> > BFC, DBI, LBI, or SRT, plus there are some various log files.
They
> > range in size from 0Kb to 2Gb in size. Is it safe to delete any
of
> > these files?
> >
> > Thanks,
> >
> > Ron Cole
> > IT Manager, IED Inc.
> > rcole@
> >
>
Hello all,

Currently running 8.00.809a SQL. The c:\epicor\mfgwrk80 folder on the
server has over 15Gb of files in it. Most of them start with either
BFC, DBI, LBI, or SRT, plus there are some various log files. They
range in size from 0Kb to 2Gb in size. Is it safe to delete any of
these files?

Thanks,

Ron Cole
IT Manager, IED Inc.
rcole@...
It is my understanding that you can delete all of the files in that
folder. It is just a temporary work folder. In fact, I took the
Sysadmin class in Irvine and was given a script that cleans up that
folder. It deletes any file that is more than six days old. The file
was named VantageWRK.vbs, below is the text of that file.


On Error Resume Next

Dim sFolder

sFolder = "C:\epicor\mfgwrk80\"

dtCheck = DateAdd("d",-6,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


Paul


--- In vantage@yahoogroups.com, "swinky68" <rcole@...> wrote:
>
> Hello all,
>
> Currently running 8.00.809a SQL. The c:\epicor\mfgwrk80 folder on the
> server has over 15Gb of files in it. Most of them start with either
> BFC, DBI, LBI, or SRT, plus there are some various log files. They
> range in size from 0Kb to 2Gb in size. Is it safe to delete any of
> these files?
>
> Thanks,
>
> Ron Cole
> IT Manager, IED Inc.
> rcole@...
>