<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>What makes a valid Windows file name?</title><link>http://blogs.msdn.com/brian_dewey/archive/2004/01/19/60263.aspx</link><description>A common question for people starting to program on Windows is, &amp;#8220;What makes a valid Windows file name?&amp;#8221; You want to use this information to make simplifying assumptions in your code: that names can be no longer than MAX_PATH, that two names</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: What makes a valid Windows file name?</title><link>http://blogs.msdn.com/brian_dewey/archive/2004/01/19/60263.aspx#60421</link><pubDate>Tue, 20 Jan 2004 04:55:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:60421</guid><dc:creator>Aspirer</dc:creator><description>You got a blog fan allready. I will put a link to your blog soon:)). and thanks for the pretty handy tips.</description></item><item><title>re: What makes a valid Windows file name?</title><link>http://blogs.msdn.com/brian_dewey/archive/2004/01/19/60263.aspx#61231</link><pubDate>Wed, 21 Jan 2004 21:54:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:61231</guid><dc:creator>ericnewton76.at.hotmail.com</dc:creator><description>Why does the POSIX subsystem get longer max paths?  I've had an issue where an open FTP site was letting hackers/freakers/whatever store movie files on the ftp (nt-ftp hosted).  They essentially created files that to this day i wasnt able to delete without reformatting the drive... and I couldnt just leave them because it was a ripped Spiderman movie (a couple of days before it actually came out) and occupied 1.2GB, times 5 for the 4 other movies.&lt;br&gt;&lt;br&gt;It was the most absurd thing that explorer couldn't delete a file, in the file system.  and &amp;quot;del spiderman*&amp;quot; wouldnt work either...</description></item><item><title>re: What makes a valid Windows file name?</title><link>http://blogs.msdn.com/brian_dewey/archive/2004/01/19/60263.aspx#118166</link><pubDate>Thu, 22 Apr 2004 17:03:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:118166</guid><dc:creator>billg</dc:creator><description>ya da da&lt;br&gt;&lt;br&gt;ya da da-dah!&lt;br&gt;&lt;br&gt;ya da da &lt;br&gt;&lt;br&gt;ya da da-dah!&lt;br&gt;&lt;br&gt;windows, so broken, why do I bother?&lt;br&gt;&lt;br&gt;windows, so broken, why do we care?</description></item><item><title>re: What makes a valid Windows file name?</title><link>http://blogs.msdn.com/brian_dewey/archive/2004/01/19/60263.aspx#155701</link><pubDate>Tue, 15 Jun 2004 04:57:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:155701</guid><dc:creator>rmorris</dc:creator><description>Hey all, this is great information.  I was wondering if anyone reading this has knowledge that could help me with a problem I'm having.&lt;br&gt;&lt;br&gt;I'm developing a file-based settings system for an application I'm writing.  To support multiple windows user accounts, I'm creating a separate file for each user (ie WinXP profiles) in a shared directory.  &lt;br&gt;&lt;br&gt;To do this, I'm creating a &amp;quot;&amp;lt;user name&amp;gt;.dat&amp;quot; file.  The problem I'm having is, some windows user names (as returned from GetUserName() in the Win32 api) are invalid file names.  Any ideas?  I can take invalid chars and &amp;quot;safe&amp;quot; them, eg &amp;quot;bob*foo&amp;quot; -&amp;gt; &amp;quot;bob_foo&amp;quot;.  But I'm not sure what characters I need to safe.  &lt;br&gt;&lt;br&gt;Other ideas?</description></item><item><title>re: What makes a valid Windows file name?</title><link>http://blogs.msdn.com/brian_dewey/archive/2004/01/19/60263.aspx#157892</link><pubDate>Thu, 17 Jun 2004 09:59:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:157892</guid><dc:creator>Paul</dc:creator><description>FYI, the system puts a lot more restrictions on valid file names than is mentioned above or listed in the Windows book. I don't have time to go into it in any detail, though.</description></item><item><title>re: What makes a valid Windows file name?</title><link>http://blogs.msdn.com/brian_dewey/archive/2004/01/19/60263.aspx#187944</link><pubDate>Tue, 20 Jul 2004 03:23:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:187944</guid><dc:creator>Trey wacker</dc:creator><description>cute euphemism, &amp;quot;Due to the layering of Windows architecture&amp;quot;</description></item><item><title>re: What makes a valid Windows file name?</title><link>http://blogs.msdn.com/brian_dewey/archive/2004/01/19/60263.aspx#203294</link><pubDate>Sun, 01 Aug 2004 09:47:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:203294</guid><dc:creator>Broken Molds</dc:creator><description>rmorris,&lt;br&gt;&lt;br&gt;Any easy solution to your delima is to create a 32-bit hash from the user name, and use that for your file name. MD5 would work great for this.&lt;br&gt;&lt;br&gt;-Jason</description></item><item><title>Feed Search Engine - All Fresh Articles And News Are Here</title><link>http://blogs.msdn.com/brian_dewey/archive/2004/01/19/60263.aspx#6519791</link><pubDate>Sun, 25 Nov 2007 21:18:55 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6519791</guid><dc:creator>Feed Search Engine - All Fresh Articles And News Are Here</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://feeds.maxblog.eu/item_858106.html"&gt;http://feeds.maxblog.eu/item_858106.html&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>Check if string is a valid path string | keyongtech</title><link>http://blogs.msdn.com/brian_dewey/archive/2004/01/19/60263.aspx#9365104</link><pubDate>Thu, 22 Jan 2009 11:57:55 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9365104</guid><dc:creator>Check if string is a valid path string | keyongtech</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://www.keyongtech.com/425723-check-if-string-is-a"&gt;http://www.keyongtech.com/425723-check-if-string-is-a&lt;/a&gt;&lt;/p&gt;
</description></item><item><title> File it What makes a valid Windows file name | debt consolidator</title><link>http://blogs.msdn.com/brian_dewey/archive/2004/01/19/60263.aspx#9787977</link><pubDate>Fri, 19 Jun 2009 17:21:50 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9787977</guid><dc:creator> File it What makes a valid Windows file name | debt consolidator</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://mydebtconsolidator.info/story.php?id=20395"&gt;http://mydebtconsolidator.info/story.php?id=20395&lt;/a&gt;&lt;/p&gt;
</description></item></channel></rss>