Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


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

19 Aug 2014   #1
JayUSA

Win 7 Pro
 
 
.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 System SpecsSystem Spec
.
20 Aug 2014   #2
JDobbsy1987

Windows 8.1 Pro x64
 
 

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 System SpecsSystem Spec
Reply

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




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Windows 7 Search Results won't close,or quit
Hey there all... Once my PC boots, Search Results has automatically opened several pages. I click the X to close the windows, and of course they all close. Once I click anything else. Search Results opens yet another several windows again...Search Results. I open task manager to quit the program,...
General Discussion
when open a word file or pwrpnt file another file is opens
God bless you, I am not a computer person please help me to fix the problem I have. Every time I open a word, power point and note pad program another file is opens with that (with a infinity sign in the front with the same extension ) is that a thread or how can I stop this thank you...
Microsoft Office
How can I close a file that is open in another program ?
Iwant to delete a file. I am logged on as Administrator, have taken ownership, have Effective Permission to perform a deletion, but I am unable to delete a file because it is being used by another program. :( I performed a Safe Mode boot; tried to delete it and still it was being used by...
Software
Can't save docs that are Word 2007 after downloading 2010-HELP!!
I've just downloaded Student and Home Office 2010, and for some reason I now cannot open documnents that are Word 2007. I also cannot save work onto my memory stick, as for some reason, it saves the document as Word 2007, even though I am doing the work on Word 2010! (I only ever had a trial...
Performance & Maintenance
Google Docs/Word 2007 Lost File
Hi, I have been working on a school report for the past few days on Google Docs (so I could access it from home and school). Now that I am done modifying the document at school, I exported the file as a Word document. In my stupidity, I clicked 'Open' instead of 'Save' when downloading the file,...
Microsoft Office
Presaved Chinese docs/srt won't open in Word/Notepad
Hello, This problem started recently, and I don't know what changed. For some reason Wordpad and/or Notepad have quit displaying Chinese characters in .srt files. I also have some documents that were written in Chinese, and those are no longer displayed if I open them in Wordpad or Notepad. ...
General Discussion


Our Sites

Site Links

About Us

Find 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 21:59.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App