Please Note: This article is written for users of the following Microsoft Word versions: 2007, 2010, 2013, and 2016. If you are using an earlier version (Word 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Word, click here: Leading Spaces in Document File Names.
by Allen Wyatt
(last updated May 19, 2018)
Jo Ann would like to save Word documents using a space at the beginning of the file name. The leading space causes the file to be listed at the beginning of the Open dialog box, which Jo Ann finds helpful. However, she can't figure out how to get Word to pay attention to the desired space, as it is always automatically removed when she saves the file.
There are a couple of ways you can add the desired space. One is to rename the files using the command line in Windows. After you get out of Word, open a command line window, navigate to the folder where the file is saved, and then use a command such as the following:
ren MyFile.docx " MyFile.docx"
Note the use of the quote marks and the space after the first quote mark. The result is a leading space in your renamed file. The space appears in front of the file name even when you next start Word.
It is the quote marks that make the operating system pay attention to the space. In fact, this leads right into the next approach, which can be used from within Word: add quote marks to your file names. When you use Save As to save your file, surround the file name (including any leading spaces) with quote marks. Word then dutifully includes the spaces with the file name, rendering the desired result.
If, for some reason, you don't want to use quote marks in your file names, you can simply use a different character than a space to preface the names of files you want sorted at the beginning of your file list. Good candidates are underscores, tildes, and exclamation points.
WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (11742) applies to Microsoft Word 2007, 2010, 2013, and 2016. You can find a version of this tip for the older menu interface of Word here: Leading Spaces in Document File Names.
Learning Made Easy! Quickly teach yourself how to format, publish, and share your content using Word 2013. With Step by Step, you set the pace, building and practicing the skills you need, just when you need them! Check out Microsoft Word 2013 Step by Step today!
Sometimes you might like to insert a file name into your document without including the file extension. The FILENAME ...Discover More
Word allows you make two types of automatic backups of your documents. One is a copy of the file before you start making ...Discover More
Got a bunch of text that you've imported from a text file? Need to make it look better? You can take a stab at it with ...Discover More
FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."
Got a version of Word that uses the ribbon interface (Word 2007 or later)? This site is for you! If you use an earlier version of Word, visit our WordTips site focusing on the menu interface.