Generation of many temp files in MacroScheduler directory

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
dbish
Junior Coder
Posts: 49
Joined: Wed Jan 08, 2003 8:38 am

Generation of many temp files in MacroScheduler directory

Post by dbish » Fri Aug 19, 2005 4:17 pm

I run a backup script at 2:58 am which renames old backup files and then runs pkzip (DOS version) to backup latest data. Script:
Wait>1
Let>RP_WINDOWMODE=2
Let>RP_WAIT=1
Let>MF_RENAME=1
DeleteFile>E:\OPTDAT~2\OI\OI_BACKUP15.ZIP
MoveFile>E:\OPTDAT~2\OI\OI_BACKUP14.ZIP,E:\OPTDAT~2\OI\OI_BACKUP15.ZIP
MoveFile>E:\OPTDAT~2\OI\OI_BACKUP13.ZIP,E:\OPTDAT~2\OI\OI_BACKUP14.ZIP
MoveFile>E:\OPTDAT~2\OI\OI_BACKUP12.ZIP,E:\OPTDAT~2\OI\OI_BACKUP13.ZIP
MoveFile>E:\OPTDAT~2\OI\OI_BACKUP11.ZIP,E:\OPTDAT~2\OI\OI_BACKUP12.ZIP
MoveFile>E:\OPTDAT~2\OI\OI_BACKUP10.ZIP,E:\OPTDAT~2\OI\OI_BACKUP11.ZIP
MoveFile>E:\OPTDAT~2\OI\OI_BACKUP09.ZIP,E:\OPTDAT~2\OI\OI_BACKUP10.ZIP
MoveFile>E:\OPTDAT~2\OI\OI_BACKUP08.ZIP,E:\OPTDAT~2\OI\OI_BACKUP09.ZIP
MoveFile>E:\OPTDAT~2\OI\OI_BACKUP07.ZIP,E:\OPTDAT~2\OI\OI_BACKUP08.ZIP
MoveFile>E:\OPTDAT~2\OI\OI_BACKUP06.ZIP,E:\OPTDAT~2\OI\OI_BACKUP07.ZIP
MoveFile>E:\OPTDAT~2\OI\OI_BACKUP05.ZIP,E:\OPTDAT~2\OI\OI_BACKUP06.ZIP
MoveFile>E:\OPTDAT~2\OI\OI_BACKUP04.ZIP,E:\OPTDAT~2\OI\OI_BACKUP05.ZIP
MoveFile>E:\OPTDAT~2\OI\OI_B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BACKUP03.ZIP,E:\OPTDAT~2\VL\VL_BACKUP04.ZIP
MoveFile>E:\OPTDAT~2\VL\VL_BACKUP02.ZIP,E:\OPTDAT~2\VL\VL_BACKUP03.ZIP
MoveFile>E:\OPTDAT~2\VL\VL_BACKUP01.ZIP,E:\OPTDAT~2\VL\VL_BACKUP02.ZIP
MoveFile>E:\OPTDAT~2\VL\VL_BACKU.ZIP,E:\OPTDAT~2\VL\VL_BACKUP01.ZIP
DeleteFile>E:\Z_BACK~1\OptData\BACKUP\OI\OI_BACKU.ZIP
Wait>5
DeleteFile>E:\Z_BACK~1\OptData\BACKUP\VL\VL_BACKU.ZIP
Wait>5
Run Program>c:\windows\command98\pkzip -es E:\Z_BACK~1\OptData\BACKUP\OI\OI_BACKUP e:\Optdata\OI\*.csv
Run Program>c:\windows\command98\pkzip -es E:\Z_BACK~1\OptData\BACKUP\VL\VL_BACKUP e:\Optdata\VL\*.csv
Wait>5
CopyFile>E:\Z_BACK~1\OptData\BACKUP\OI\OI_BACKU.ZIP,E:\OPTDAT~2\OI\OI_BACKU.ZIP
CopyFile>E:\Z_BACK~1\OptData\BACKUP\VL\VL_BACKU.ZIP,E:\OPTDAT~2\VL\VL_BACKU.ZIP

All seems to work fine - backups get done, doesn't bomb, etc. The actual current PKZIPed files OI_BACKUP has a time stamp of 3:00 and VL_BACKUP has a time stamp of 3:04 am. However, when I look in my recycled bin (Windows XP) I see that there are 1311 temp files with names like adaecffa (no extension). adaecffg (no extension) etc. Total file size for all is about 80 MB. All Files are a size of 64,488 bytes, and all have time stamps between 3:00 and 3:04am. These files have been deleted to the recycle bin (at least out of active file/memory) but are certainly cluttering up my recycle bin - causing me to manually dump it more often. If they were generated by the pkzip program I would think they would be in that directory - not c:\program files\macro scheduler. One last piece of info - I use Norton utilities which has Norton Unerase working that catches some things that simple Windows does not.

So, does anybody know what MSched is doing - if anything - to generate all these temp files in the Macro Scheduler directory? Is there a fix or do I just keep manually dumping my recycle bin more frequently?

Thanks

Dave

User avatar
support
Automation Wizard
Posts: 1450
Joined: Sat Oct 19, 2002 4:38 pm
Location: London
Contact:

Post by support » Fri Aug 19, 2005 4:20 pm

Macro Scheduler itself doesn't create any temp files so I think this must be pkzip .. or something else.
MJT Net Support
[email protected]

dbish
Junior Coder
Posts: 49
Joined: Wed Jan 08, 2003 8:38 am

Post by dbish » Fri Aug 19, 2005 4:53 pm

Thanks for the reply. I couldn't see how it was MSched but then again, nothing else makes sense either!

Dave

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts