Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 10-31-2020, 03:22 AM
Sark Sark is offline Save as .bat Windows XP Save as .bat Office 2003
Novice
Save as .bat
 
Join Date: Apr 2017
Posts: 25
Sark is on a distinguished road
Default Save as .bat

Hi all.



Is it possible to save a .bat file directly from Word. This is just a Plain Text file with a .bat extension, but if I change the extension in the description it adds the .txt extension to the saved file, which I then have to rename after saving.
Notepad and Wordpad let you use the Save as Type "All files" option to save the extension of your choice. Word (2010) doesn't appear to let you do this. Just wondering if there's a workaround to avoid having to change the extension after saving.

Cheers

Sark
Reply With Quote
  #2  
Old 10-31-2020, 06:58 AM
gmayor's Avatar
gmayor gmayor is offline Save as .bat Windows 10 Save as .bat Office 2016
Expert
 
Join Date: Aug 2014
Posts: 4,101
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

Save as plain text and put the filename in quotes e.g. "filename.bat"
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Reply With Quote
  #3  
Old 11-02-2020, 04:41 AM
Sark Sark is offline Save as .bat Windows XP Save as .bat Office 2003
Novice
Save as .bat
 
Join Date: Apr 2017
Posts: 25
Sark is on a distinguished road
Default

Thanks for that. It's appreciated.

Sark
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Save as .bat Macro to save as pdf with ability to choose save as folder rvessio Word VBA 4 07-25-2016 12:37 PM
Save as .bat save dialog box promt doesn't save file brmveen Word VBA 2 11-04-2015 12:51 AM
Save as .bat When I try to save an existing word doc, save as pops up and will not save... samanthab Word 3 01-19-2013 06:27 AM
Word ask to save template whenever i save a derived document jorbjo Word 3 10-04-2012 10:52 AM
PowerPoint Crashes every time I try to save/save as Crimson_Ninja PowerPoint 0 05-04-2011 01:54 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 04:01 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft