Link to home
Start Free TrialLog in
Avatar of J.R. Sitman
J.R. SitmanFlag for United States of America

asked on

Need to run a file using Task Scheduler or a Batch file

I need a way to run this once a week.  "C:\Program Files (x86)\Microsoft Office\Office16\MSACCESS.EXE" "\\databases\Access2015$\Paw Trax\sp_be2.mdb" /compact

I tried using Task Scheduler but it won't run.

I also tried making a batch file, but I am not sure of exactly what should go in the file.

How can I accomplish this?
ASKER CERTIFIED SOLUTION
Avatar of NVIT
NVIT
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of J.R. Sitman

ASKER

still will not run
correction.  I had a typo.  It is working
Awesome. Thanks for the update JR