Sage 100

 View Only
Expand all | Collapse all

Here is the BAT file I created last night. You'd w

John Leonard

John Leonard06-14-2012 16:12

Diane Ruth

Diane Ruth06-15-2012 05:39

Jeff Schwenk

Jeff Schwenk06-15-2012 10:15

Robert Wood

Robert Wood06-15-2012 10:57

Robert Wood

Robert Wood06-15-2012 10:58

Jeff Schwenk

Jeff Schwenk12-03-2016 21:10

Moira Goggin

Moira Goggin07-26-2017 14:29

Moira Goggin

Moira Goggin07-26-2017 14:29

Jeff Schwenk

Jeff Schwenk07-26-2017 20:09

Robert Wood

Robert Wood08-02-2017 06:24

  • 1.  Here is the BAT file I created last night. You'd w

    Posted 06-14-2012 05:45
      |   view attached
    Here is the BAT file I created last night. You'd want to run it from your MAS90 directory. It creates a directory one level above where you run it called SageTemp. It copies those temporary WRK and WORK files, *.BAD, *.BAK, *.RP_, and *.OLD files to that directory and then deletes them. I didn't feel like figuring out how to Zip them up, but I may get bored at some point in the future. No warranty included. Use at your own risk. Yada yada!

    Attachment(s)

    zip
    CleanTemps.zip   383 B 1 version


  • 2.  RE: Here is the BAT file I created last night. You'd w

    Posted 06-14-2012 06:58
    Sample of command line for 7zip: ""C:\Program Files\7-Zip\7z.exe"" u -tzip -r C:\Sage\SageTemp.zip ""C:\Sage\SageTemp\*.*"" Remember to put quotes around any path that contains spaces.


  • 3.  RE: Here is the BAT file I created last night. You'd w

    Posted 06-14-2012 13:49
    Robert. Thanks. Well worth the hours we all helped throwing ideas at the wall for you........


  • 4.  RE: Here is the BAT file I created last night. You'd w

    Posted 06-14-2012 15:12
    Thanks to those who helped brainstorm this last night, @ThereseLogeais, @JeffSchwenk , and @WayneSchulz.


  • 5.  RE: Here is the BAT file I created last night. You'd w

    Posted 06-14-2012 15:51
    I agree with @JeffSchwenk - thanks again Robert!


  • 6.  RE: Here is the BAT file I created last night. You'd w

    Posted 06-14-2012 16:12
    Thanks!


  • 7.  RE: Here is the BAT file I created last night. You'd w

    Posted 06-15-2012 05:39
    Thanks Robert !!


  • 8.  RE: Here is the BAT file I created last night. You'd w

    Posted 06-15-2012 10:08
    I use the following: robocopy \servername\sage\mas90 ..\sagetemp *wrk*.m4t *work*.m4t /XF *wrk.m4t *work.m4t *workfile.m4t *workstation.m4t /S /COPY:DATSO /MOV /R:5 /LOG+:templog.txt It moves all temp work files to the sagetemp folder, preserves the paths and appends all activity to a log file for review. I recommend not deleting the files initially, so you can review what was moved first.


  • 9.  RE: Here is the BAT file I created last night. You'd w

    Posted 06-15-2012 10:15
    Is robocopy a WIN program?


  • 10.  RE: Here is the BAT file I created last night. You'd w

    Posted 06-15-2012 10:57
    It appears to be a DOS command.


  • 11.  RE: Here is the BAT file I created last night. You'd w

    Posted 06-15-2012 10:58
    Thanks Mark!


  • 12.  RE: Here is the BAT file I created last night. You'd w

    Posted 06-15-2012 10:58
    Yes, but it may only be for Vista or better.


  • 13.  RE: Here is the BAT file I created last night. You'd w

    Posted 12-02-2016 18:04
    This is a Great batch file.. Works like a champ. . Thanks @RobertWood


  • 14.  RE: Here is the BAT file I created last night. You'd w

    Posted 12-02-2016 18:05
    Granted it is 4 years old but it still works very well.


  • 15.  RE: Here is the BAT file I created last night. You'd w

    Posted 12-03-2016 21:10
    An oldie but goodie!!!!


  • 16.  RE: Here is the BAT file I created last night. You'd w

    Posted 07-26-2017 12:53
    @MoiraGoggin - is this in the Evernote closet? An oldie but goodie as always. I was talking to another reseller about it today. TIA


  • 17.  RE: Here is the BAT file I created last night. You'd w

    Posted 07-26-2017 14:29
    Yes @JeffSchwenk


  • 18.  RE: Here is the BAT file I created last night. You'd w

    Posted 07-26-2017 14:29
    It has been for a couple years I think.


  • 19.  RE: Here is the BAT file I created last night. You'd w

    Posted 07-26-2017 20:07
    Interestingly, @JeffSchwenk, it was only about an hour from conception to inception to completion.


  • 20.  RE: Here is the BAT file I created last night. You'd w

    Posted 07-26-2017 20:09
    Windows was simpler back in the day....


  • 21.  RE: Here is the BAT file I created last night. You'd w

    Posted 08-02-2017 06:24
      |   view attached
    I updated it to make it more efficient.

    Attachment(s)

    zip
    CleanTemps.zip   383 B 1 version


  • 22.  RE: Here is the BAT file I created last night. You'd w

    Posted 08-02-2017 06:43
    I had forgotten about this until a few days ago. This works awesome!!