Thanks Rebecca.  You beat me to it.

BTW, I have a small addition to the message I wrote.  The DEL commmand has a 
switch that recurses subdirectories.  It did not have the switch when I wrote 
the batch file. You no longer need the additional program called "sweep."

Regards,

Diane

-----Original Message-----
>From: rebecca officer <[EMAIL PROTECTED]>
>Sent: Aug 29, 2007 8:13 PM
>To: FrameUsers List <[email protected]>, <Dave Reynolds <[EMAIL 
>PROTECTED]>
>Subject: Fwd: RE: deleting backup files
>
>I hung onto it.
>
>:-)
>
>Rebecca
>
>>>> "Diane Gaskill" <[EMAIL PROTECTED]> 24/07/07 20:48 >>>
>Ben,
>
>Why do you need a VB script?  A simple batch file works fine.
>
>Run a DOS window from the directory you want to clean up and then run
>the
>following batch file. Copy the text to Notepad and save it as
>cleanfm.bat or
>whatever you want to call it. Save it to a directory in the path or add
>the
>directory to the path.  I assume you know about paths.
>
>BTW, I've been using this .bat for at least 14 years and a general
>purpose
>one like it for 20 years.  Never had either of them delete anything
>they
>weren't supposed to.
>
>@echo off
>echo.
>echo   Deleting the following files from the current directory:
>dir *.backup.* *.lck
>echo.
>del *.backup.* *.lck
>
>You can also add *recover*.* to the list to delete recovery files after
>you
>save them to the original file names.
>
>If you have a tree of directories with archived files in them, I have a
>neat
>little utility called sweep.com that executes a .bat or an .exe in all
>of
>the directories in the tree.  Free.
>Hope this helps,
>
>Diane Gaskill
>============================================
>
>-----Original Message-----
>From: [EMAIL PROTECTED] 
>[mailto:[EMAIL PROTECTED]
>
>Behalf Of B Hechter
>Sent: Monday, July 23, 2007 10:13 AM
>To: [email protected] 
>Subject: deleting backup files
>
>
>Hi Framers,
>
>Before attempting this, thought I would inquire if any VB wizard out
>there
>has a script snippet to share for deleting FM  .backup files from
>archival
>directories.
>
>Thanks!
>
>Ben
>
>NOTICE: This message contains privileged and confidential
>information intended only for the use of the addressee
>named above. If you are not the intended recipient of
>this message you are hereby notified that you must not
>disseminate, copy or take any action in reliance on it.
>If you have received this message in error please
>notify Allied Telesis Labs Ltd immediately.
>Any views expressed in this message are those of the
>individual sender, except where the sender has the
>authority to issue and specifically states them to
>be the views of Allied Telesis Labs.
>_______________________________________________
>
>
>You are currently subscribed to Framers as [EMAIL PROTECTED]
>
>Send list messages to [EMAIL PROTECTED]
>
>To unsubscribe send a blank email to 
>[EMAIL PROTECTED]
>or visit 
>http://lists.frameusers.com/mailman/options/framers/dgcaller%40earthlink.net
>
>Send administrative questions to [EMAIL PROTECTED] Visit
>http://www.frameusers.com/ for more resources and info.

_______________________________________________


You are currently subscribed to Framers as [EMAIL PROTECTED]

Send list messages to [EMAIL PROTECTED]

To unsubscribe send a blank email to 
[EMAIL PROTECTED]
or visit 
http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com

Send administrative questions to [EMAIL PROTECTED] Visit
http://www.frameusers.com/ for more resources and info.

Reply via email to