c:\>echo. > somefile.txt
The dot immediately after the echo command outputs just a blank line to the file. I think this technique works for Windows NT and better.
Apparently you can also use the fsutil command to make a file of any size filled with zeros:
c:\>fsutil file createnew filename length
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.