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

JayUSA

New member
Local time
1:08 AM
Messages
8
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 My Computer

At a glance

Win 7 Pro
OS
Win 7 Pro
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 My Computer

At a glance

Windows 8.1 Pro x64Intel Core i5-2500K @ 3.30GHz - S11558GB Corsair DDR3 XMS3, PC3-12800NVIDIA GeForce GTX 650
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self Built
OS
Windows 8.1 Pro x64
CPU
Intel Core i5-2500K @ 3.30GHz - S1155
Motherboard
Asus P8P67 LE Rev3, Intel P67, S115
Memory
8GB Corsair DDR3 XMS3, PC3-12800
Graphics Card(s)
NVIDIA GeForce GTX 650
Sound Card
On-Board
Monitor(s) Displays
3 x 24" {Extended Display}
Screen Resolution
1920 x 1080
Hard Drives
300GB Seagate Barracuda 7200
PSU
550W Coolermaster GX550
Case
Silverstone Precision PS04B
Cooling
Stock
Keyboard
Logitech K120
Mouse
World of Warcraft Cataclysm MMO Gaming Mouse
Internet Speed
80 MB
Antivirus
MSE / Windows Defender
Browser
Chrome
Back
Top