<p>How can I create this file in a directory in windows 2003 SP2:</p>

<pre><code>.hgignore
</code></pre>

<p>I get error: You must type a file name.</p>

[{'answer_id': 19443, 'author': 'Ishmaeel', 'author_id': 227, 'author_profile': 'https://Stackoverflow.com/users/227', 'pm_score': 6, 'selected': True, 'text': '<p>That\'s a "feature" of Windows Explorer. Try to create your files from a command line (or from a batch/program you wrote) and it should work fine. Try this from a dos prompt:</p>\n\n<pre><code>echo Hello there! &gt; .hgignore\n</code></pre>\n'}, {'answer_id': 19476, 'author': 'Pat', 'author_id': 238, 'author_profile': 'https://Stackoverflow.com/users/238', 'pm_score': 3, 'selected': False, 'text': '<p>By the way Raymond Chen had a blog post about this topic a while back:</p>\n<p><a href="https://devblogs.microsoft.com/oldnewthing/20080414-00/?p=22763" rel="nofollow noreferrer">Why doesn\'t Explorer let you create a file whose name begins with a dot?</a> (archive.org link with comments: <a href="https://web.archive.org/web/20100305064616/http://blogs.msdn.com/oldnewthing/archive/2008/04/14/8389268.aspx" rel="nofollow noreferrer">https://web.archive.org/web/20100305064616/http://blogs.msdn.com/oldnewthing/archive/2008/04/14/8389268.aspx</a>)</p>\n<p>In which he mentions</p>\n<blockquote>\n<p>You can do it from the command line or\nuse your favorite file management\ntool.</p>\n</blockquote>\n'}]
['https://Stackoverflow.com/questions/19442', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/479/']