.bat file to save and close all open Words docs, then quit Word


  1. Posts : 8
    Win 7 Pro
       #1

    .bat file to save and close all open Words docs, then quit Word


    Hello Everyone,

    I'd like to write a .bat file that will save and close all open Word documents, then quit Word or terminate the Word process.

    How in the world would I do that? I'm a complete novice at .bat files!

    Also, could the .bat file be triggered only after Word has been unused/idle for a specified time?

    I look forward to your responses!

    Jay
      My Computer


  2. Posts : 2,177
    Windows 8.1 Pro x64
       #2

    Hi,

    Killing the word process wouldn't be too difficult but that would be on a schedule rather than x amount of idle minutes.
    I don't believe a .bat file would be able to save any open workbooks though.

    Are you able to provide some background on why this is needed and maybe there is an alternate method?

    Regards,
    Jamie
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 19:51.
Find Us