<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:pingback="http://madskills.com/public/xml/rss/module/pingback/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>Andrew Hay - windows</title>
    <link>http://www.a7drew.com/blog/</link>
    <description>Thinking way too long about the subtitle</description>
    <language>en-us</language>
    <copyright>Andrew Hay</copyright>
    <lastBuildDate>Thu, 05 Aug 2010 21:40:21 GMT</lastBuildDate>
    <generator>newtelligence dasBlog 2.3.12105.0</generator>
    <managingEditor>andrewcameronhay@hotmail.com</managingEditor>
    <webMaster>andrewcameronhay@hotmail.com</webMaster>
    <item>
      <trackback:ping>http://www.a7drew.com/blog/Trackback.aspx?guid=f93a727d-8abf-4161-a324-98f4ed65fc62</trackback:ping>
      <pingback:server>http://www.a7drew.com/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.a7drew.com/blog/PermaLink,guid,f93a727d-8abf-4161-a324-98f4ed65fc62.aspx</pingback:target>
      <dc:creator>Andrew Hay</dc:creator>
      <wfw:comment>http://www.a7drew.com/blog/CommentView,guid,f93a727d-8abf-4161-a324-98f4ed65fc62.aspx</wfw:comment>
      <wfw:commentRss>http://www.a7drew.com/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=f93a727d-8abf-4161-a324-98f4ed65fc62</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
I had to search around again for how to create a large file for testing; time for
a blog post.
</p>
        <p>
When you need to work with a large file for testing, fsutil.exe (baked into Windows)
has a cool feature for making a large file in a snap. This is useful for when you
test your app’s ability to move and edit local files or simply upload a big document.
</p>
        <p>
Here’s the command for creating a 20MB file:
</p>
        <p>
        </p>
        <pre>fsutil file createnew c:\temp\largefile.txt 20000000</pre>
        <img width="0" height="0" src="http://www.a7drew.com/blog/aggbug.ashx?id=f93a727d-8abf-4161-a324-98f4ed65fc62" />
      </body>
      <title>Creating Large Files with fsutil.exe</title>
      <guid isPermaLink="false">http://www.a7drew.com/blog/PermaLink,guid,f93a727d-8abf-4161-a324-98f4ed65fc62.aspx</guid>
      <link>http://www.a7drew.com/blog/2010/08/05/CreatingLargeFilesWithFsutilexe.aspx</link>
      <pubDate>Thu, 05 Aug 2010 21:40:21 GMT</pubDate>
      <description>&lt;p&gt;
I had to search around again for how to create a large file for testing; time for
a blog post.
&lt;/p&gt;
&lt;p&gt;
When you need to work with a large file for testing, fsutil.exe (baked into Windows)
has a cool feature for making a large file in a snap. This is useful for when you
test your app’s ability to move and edit local files or simply upload a big document.
&lt;/p&gt;
&lt;p&gt;
Here’s the command for creating a 20MB file:
&lt;/p&gt;
&lt;p&gt;
&lt;pre&gt;fsutil file createnew c:\temp\largefile.txt 20000000&lt;/pre&gt;&lt;img width="0" height="0" src="http://www.a7drew.com/blog/aggbug.ashx?id=f93a727d-8abf-4161-a324-98f4ed65fc62" /&gt;</description>
      <comments>http://www.a7drew.com/blog/CommentView,guid,f93a727d-8abf-4161-a324-98f4ed65fc62.aspx</comments>
      <category>utilities</category>
      <category>windows</category>
    </item>
  </channel>
</rss>